Your vector "tt" is set to 0,0,0. You can have an angle between this and
another vector, since this vector has zero length, hence it doesn't
"point" in any direction.
Kev
ramanathan v wrote:
Hi,
I am trying to find the angle between the two vector3d
objects and it gives me NaN. Am i doing something
wrong. If anyone could help me that would be great.
Sample ..this is what i am doing
Vector3d tt = new Vector3d(0,0,0);
Vector3d f = new Vector3d(0,10,0);
System.out.println(f.angle(tt));
thanks,
ram.
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
===========================================================================
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".
===========================================================================
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".