Re: Can I limit the mouse to rotating a scene in only two axes?
Posted by
basti on
Aug 08, 2023; 5:47pm
URL: https://forum.jogamp.org/Can-I-limit-the-mouse-to-rotating-a-scene-in-only-two-axes-tp4042817p4042818.html
Hello unixnerd,
i've made a test scene adjusting some old sample code by Daniel Selman.
It's a bit much to put all in one file and post here, so i zipped it.
MouseRotation.zipYou can rotate the ColorCube with left and right mouse buttons (left=yaw, right=pitch).
hope this helps,
basti