> Delivered-To: [EMAIL PROTECTED]
> MIME-Version: 1.0
> Date: Wed, 19 Sep 2001 16:30:35 +0200
> From: "Stedum, Harry van" <[EMAIL PROTECTED]>
> Subject: [JAVA3D] order of matrix multiplication
> To: [EMAIL PROTECTED]
>
> Hi listas!
>
> What is the order of matrix-multplication in the statement:
>
>         m1.mul(m2)
>
> Is it m1*m2 or m2*m1 ??? (where m1, m2 of type Matrix or Transform3D)
>
> I need to know because I need to apply multiple transformations in some
> order: I believe in matrix-multiplications the right-most matrix operation
> is applied first to the geometry, then the premultiplied ones.
>
> Thanks, Harry

>From the javadoc of Transform3D:

 public final void mul(Transform3D t1)
     Sets the value of this transform to the result of multiplying itself
     with transform t1 (this = this * t1).

Dan Petersen
Java 3D Team
Sun Microsystems

===========================================================================
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