Newbie question...

To set translation in a TransfromGroup I'm using:

myVector3f.x = newValueX;
myVector3f.y = newValueY;
myVector3f.z = newValueZ;
myTransform3D.setTranslation( myVector3f );
myTransformGroup.setTransform( myTransform3D );

But this copies the entire Transform3d matrix ( 16 values! ) plus
copying the Vector3f as well.
Is there a more efficient way to set these values?
Can I get handles to the matrix stored in TransformGroup?
Thanks for any help

--
TTFN

__________________________________________________________

Shawn Kendall               Full Sail Real World Education
Course Instructor           3300 University BLVD
Virtual Reality             Winter Park FL 32792
[EMAIL PROTECTED]       http://www.fullsail.com
__________________________________________________________



=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to