Do you know where your variables are? | |
PerlMonks |
Re^2: Rotate a 3D vectorby tachyon (Chancellor) |
on Oct 18, 2004 at 01:01 UTC ( [id://400016]=note: print w/replies, xml ) | Need Help?? |
If you only need to rotate around the Z axis then it is a simple 2D trig problem. The z co-ordinate is invariant as this is our rotational plane.
Here is a nice article with a pretty applet Update Corrected error noted by johnnywang cheers tachyon
In Section
Seekers of Perl Wisdom
|
|