diff --git a/tests/managed_objects.lua b/tests/managed_objects.lua index 55f8592..0524a0b 100644 --- a/tests/managed_objects.lua +++ b/tests/managed_objects.lua @@ -1,7 +1,5 @@ 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) @@ -11,7 +9,7 @@ function init(obj) end function key_down_event(key) - if (key == "b") then + if (key == "b") then box = ag.createBox(1, 1, 1) init(box) elseif (key == "c") then