added an "auto physics" mode, on by default, that will call doPhysics() before update() if on, settable via ag::setAutoPhysics()
git-svn-id: svn://anubis/anaglym/trunk@71 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
1 parent
3f407b8970
commit
c4f07c6c93
5 files changed
+23
-1
No files matched your search
@@ -2,7 +2,6 @@
|
||||
function update()
|
||||
ballx, bally, ballz = ball:getPosition()
|
||||
ag.setCamera(7, -6, 15, ballx, bally, ballz, 0, 0, 1)
|
||||
ag.doPhysics()
|
||||
ag.startFrame()
|
||||
ag.drawObjects()
|
||||
ag.endFrame()
|
||||
|
||||
Reference in new issue
Block a user