Use AxisAngle to let rotate objects about an arbitrary axis by an angle a.
X,y,z are the coordinates of the axis (vector) in question. Direction of
rotation can be described as follows: thumb of your right hand is looking
into the same direction as vector. If you close your hand, your fingers are
describing the direction of rotation ( a > 0 ).
...new AxisAngle4d(new Vector3d(0,1,0), Math.PI/2) will supply a rotation
of 90 degrees about the y axis
Gernot
[EMAIL PROTECTED]
http://www.janet.de
Stefan Racz
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
U> cc:
Sent by: Discussion Subject: [JAVA3D] AxisAngle4d
list for Java 3D API
<JAVA3D-INTEREST@JAV
A.SUN.COM>
08.02.00 22:15
Please respond to
Discussion list for
Java 3D API
Hi,
Can somebody explain to me how does the AxisAngle4d class work?
constructor ( x , y , z , angle ) : is (x,y,z) a normal vector? What does
the angle mean ?
Thanx !
===========================================================================
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".