You could translate to the origin, rotate and translate back to the original
position.

Kyle Wayne Kelly
Computer Science Student
University of New Orleans
504-391-3985
http://www.cs.uno.edu/~kkelly
Glory to God!
----- Original Message -----
From: "Mona Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 21, 2001 4:23 PM
Subject: [JAVA3D] making mouse rotation about the centroid


> Hi:
>
>         When I use the MouseRotate class, the rotation is not about the
centroid
> (center of mass).  How can I get it to rotate about the centroid?  Do I
need to
> setup my own transformChanged() method?
>
>         All help is appreciated.
>
> Sincerely,
>
> Mona
>
> ==================================================================
> Mona Wong
> National Center for Microscopy and Imaging Research
> University of California, San Diego
> http://ncmir.ucsd.edu/
>
> "The truth shall set you free, but first it will piss you off"
>                                 A Landmark instructor
> ==================================================================
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to