added ag::setGravity() so the script programmer can change the world gravity

git-svn-id: svn://anubis/anaglym/trunk@200 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop committed 2009-12-09 00:07:30 +00:00
1 parent b82458aa98
commit ea4346a55e
4 files changed
+33

No files matched your search

+7
View File
@@ -393,6 +393,13 @@ The default center point is (0, 0, 0).
The default up vector is (0, 0, 1).
</p>
<a name="ag_setGravity" />
<h3>setGravity</h3>
<p><tt>ag.setGravity(gx, gy, gz)</tt></p>
<p>
This function sets the gravity vector to (gx, gy, gz).
</p>
<a name="ag_startFrame" />
<h3>startFrame</h3>
<p><tt>ag.startFrame()</tt></p>