Hi Joachim,
from your description it is not a bug. Here is what Java3D Doc has about Vector3f.normalize(Vector3f):
public final void normalize(Vector3f v1)
Sets the value of this vector to the normalization of vector v1.
Parameters:
v1 - the un-normalized vector
So if you call vector3f.normalize(otherVector), otherVector is an input and vector3f will contain normalized otherVector.
Yuri
-----Original Message-----
From: Joachim Diepstraten
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 27, 2001 4:27 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] vector3f.normalize(vector3f) doesn't work
Hi
Well Christmas is over but still I've got a present for the J3D-Team :)
I've found another bug. I think this one must be very old. It's
interesting to see that no one has discovered this before.
In Vector3f vector3f.normalize(otherVector) the otherVector isn't set
to the normalized vector3f but instead is 0,0,0.
EOF,
J.D.
--
Explore SRT with the help of Java3D
(http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski)
(http://www.antiflash.net/java3d/relativity (mirror)
===========================================================================
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".
