drawing textures on planes now
git-svn-id: svn://anubis/anaglym/trunk@153 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
1 parent
9319b39d2a
commit
96ef0ef7ac
2 files changed
+4
No files matched your search
@@ -1,6 +1,8 @@
|
||||
|
||||
crate_texture = ag.loadTexture("checker.jpg")
|
||||
ground = ag.createStaticPlane(0, 0, 1, 0)
|
||||
ground:setColor(0.2, 1.0, 0.2)
|
||||
ground:setTexture(crate_texture)
|
||||
ag.setCamera(10, -10, 10, 0, 0, 0)
|
||||
|
||||
if (ag.import("rot_camera") ~= true) then
|
||||
|
||||
Reference in new issue
Block a user