From c802886b11e41caaade942ffa7c362ab7cbae4f7 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 29 Oct 2009 02:51:55 +0000 Subject: [PATCH] not calling dGeomGetPosition/Rotation() for planes git-svn-id: svn://anubis/anaglym/trunk@138 99a6e188-d820-4881-8870-2d33a10e2619 --- .todo | 1 - tests/managed_objects.lua | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.todo b/.todo index f046186..254fcb9 100644 --- a/.todo +++ b/.todo @@ -1,5 +1,4 @@ - rename CCylinder to Capsule - add plane constructor taking 4 parameters for (a,b,c,d) -- remove calling dGeomGetPosition/Rotation() for planes - support loading and applying textures for managed objects - debug hooks for loading and execution to halt infinite lua loops diff --git a/tests/managed_objects.lua b/tests/managed_objects.lua index d37ecfa..376488a 100644 --- a/tests/managed_objects.lua +++ b/tests/managed_objects.lua @@ -1,7 +1,7 @@ ---ground = ag.createStaticPlane(0, 0, 0, 0, 0, 0) -ground = ag.createStaticBox(1000, 1000, 1000) -ground:setPosition(0, 0, -500) +ground = ag.createStaticPlane(0, 0, 0, 0, 0, 0) +--ground = ag.createStaticBox(1000, 1000, 1000) +--ground:setPosition(0, 0, -500) ground:setColor(0.2, 1.0, 0.2) ag.setCamera(10, -10, 10, 0, 0, 0)