Template:Team:UC Davis/MutantWidget
From 2011.igem.org
(Difference between revisions)
Line 509: | Line 509: | ||
{ | { | ||
origin_camera.rotation.y += (-lastMouseX + event.pageX)/70; | origin_camera.rotation.y += (-lastMouseX + event.pageX)/70; | ||
- | + | origin_camera.rotation.x += (-lastMouseY + event.pageY)/70; | |
if(origin_object.rotation.x > 0) | if(origin_object.rotation.x > 0) | ||
{ | { |
Revision as of 06:44, 25 September 2011