N. Vaidya wrote:

Nikolai,

See if the following modifications are what you're looking for:

 .....
 t.getRotationScale(rotationScale);

 // begin mods:
 double tscale = t.getScale();
 rotationScale.mul( 1.0 / tscale );
 // end mods:
 .....

Your test results should now be identical.


It gives another result yes, but not the same as input.

But I had some compile problem last time I tried this it seems, because it now looks 
like setScale(1d), before I get the rotation helps to get the correct result. At least 
in this specific numerical case.


But still this should be regarded as a bug, since I beleive AxisAngle4d.set( Matrix3d ) should do this automatically.

Quat4d has same problem.

----------------------------------------------
Nikolai V. Christensen, Computer Engineer,
Simulation and Training department
IFAD, Forskerparken 10A, DK-5230 Odense M
Denmark, EU
Phone: +45 63 15 71 31  Fax: +45 65 93 29 99
WWWeb: http://www.ifad.dk
e-mail: [EMAIL PROTECTED]
----------------------------------------------

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