I did this by modifying MouseRotate to only rotate about the Y axis
if the shift is pressed:


            boolean shift = ((MouseEvent)aawtevent[l]).isShiftDown ();
.
.
.

                currXform.mul (transformY, currXform);

                // rotate the matrix by transformX if shift isn't pressed
                if (!shift)
                  currXform.mul (transformX, currXform);
.
.
.
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to