hello
I believe I have discovered a bug in the Transform3D class
the documentation says the following about Transform3D.transform(Vector3f) :
Transforms the point parameter with this transform and places the result back into
point. The fourth element of the point input paramter is assumed to be one.
However when I pass a vector3f to the transform method , the vector stays (0,0,0)
My transform works, because when I transform a vector4f initialised to (0,0,0,1) the
vector is correctly transformed
So I believe the transformmethod doesn't use a w-value=1
Or am I interpreting the meaning of "....assumed to be one" wrong?
1) transform of vector3f , pos stays (0,0,0)
Vector3f pos = new Vector3f(); //initialises pos to (0,0,0)
transform3d.transform(pos);
2) transform of vector4f , pos is correctly transformed
Vector4f pos = new Vector4f(0,0,0,1);
transform3d.transform(pos);
regards,
mattie
===========================================================================
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".