working on 3d picking -- angle calculation incorrect...
git-svn-id: svn://anubis/anaglym/trunk@250 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
1 parent
e2dc4529cc
commit
0ec9d0e74d
4 files changed
+44
No files matched your search
@@ -10,6 +10,7 @@ function init_event()
|
||||
ag.println("error importing rot_camera")
|
||||
ag.exit()
|
||||
end
|
||||
ag.setCursorVisible(true)
|
||||
end
|
||||
|
||||
function init_obj(obj)
|
||||
@@ -56,3 +57,9 @@ function key_down_event(key)
|
||||
ag.setCursorVisible(not ag.getCursorVisible())
|
||||
end
|
||||
end
|
||||
|
||||
function mousebutton_down_event(button, x, y)
|
||||
if (button == 1) then
|
||||
ag.pickObjects(x, y)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user