minor tweaks
git-svn-id: svn://anubis/anaglym/trunk@143 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
parent
18f745d77a
commit
8599a2a6b8
@ -1,7 +1,5 @@
|
|||||||
|
|
||||||
ground = ag.createStaticPlane(0, 0, 0, 0, 0, 0)
|
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)
|
ground:setColor(0.2, 1.0, 0.2)
|
||||||
ag.setCamera(10, -10, 10, 0, 0, 0)
|
ag.setCamera(10, -10, 10, 0, 0, 0)
|
||||||
|
|
||||||
@ -11,7 +9,7 @@ function init(obj)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function key_down_event(key)
|
function key_down_event(key)
|
||||||
if (key == "b") then
|
if (key == "b") then
|
||||||
box = ag.createBox(1, 1, 1)
|
box = ag.createBox(1, 1, 1)
|
||||||
init(box)
|
init(box)
|
||||||
elseif (key == "c") then
|
elseif (key == "c") then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user