diff --git a/tests/managed_objects.lua b/tests/managed_objects.lua index d970933..d586780 100644 --- a/tests/managed_objects.lua +++ b/tests/managed_objects.lua @@ -1,7 +1,7 @@ function init_event() local crate_texture = ag.loadTexture("checker.jpg") - local ground = ag.createPlaneStatic(0, 0, 1, 0) + local ground = ag.createPlane(0, 0, 1, 0) ground:setColor(0.2, 1.0, 0.2) ground:setTexture(crate_texture) ag.setCamera(10, -10, 10, 0, 0, 0)