Hi All

This is a part of code that i m analysing...
Kindly tell me what do all these lines mean.

1 Vector3f tempVect = new Vector3f(0.0f,0.5f,4.0f);
2 Transform3D tempT3D = new Transform3D();

3 //FOR camera
4 tempVect.set(0.0f,0.0f,8.0f);
5 tempT3D.set(tempVect);

6 //FOR content branch
7 tempVect.set(-1.25f,0.0f,0.0f);
8 tempT3D.setTranslation(tempVect);

What is the difference between "set()" and "setTranslation()"
What is the meaning of assigning negative value to vector in line 7


Sikander Hayat
F/0 Engineering and Technology
Jamia Millia Islamia
New Delhi
----------------------------------- +
LIVE BY THE SWORD,DIE BY THE SWORD  |
----------------------------------- +

===========================================================================
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".

Reply via email to