Transform3D trans = transport.getTransformation ();
trans.lookAt (origin, destination, up);
trans.invert ();
transport.setTransformation (trans);the scales is not preserved!!
I have to do this workaround to preserve it:
Transform3D trans = transport.getTransformation ();
Vector3d s = new Vector3d();
trans.getScale (s);
trans.lookAt (origin, destination, up);
trans.invert ();
trans.setScale (s);
transport.setTransformation (trans);Is that suppossed act like that or a bug??
Regards Nikolai ---------------------------------------------- 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".
