It depends on the order in which the matrix was built.
You can use atan2() and asin() on 2 elements of the matrix
and back out the angle used, but you have to know
how the matrix was built in order to pick the right elements.



> ----------
> From:         Andreea Francu[SMTP:[EMAIL PROTECTED]]
> Reply To:     Discussion list for Java 3D API
> Sent:         Thursday, March 23, 2000 10:48 AM
> To:   [EMAIL PROTECTED]
> Subject:      [JAVA3D] rotational component
>
> I have a Matrix3f object and I need to retrive the rotational component
> around the z axis. Any idea how to do that?
>
> Thanks,
>
> Andreea
>
> ==========================================================================
> =
> 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