true has asked for the wisdom of the Perl Monks concerning the following question:
I want to rotate a 3d vector by a certain amount and return the new vector points so my app can do stuff with it. The 3d vector i have is a point on the edge of a sphere in 3d space. I want to rotate this point by foo and get the 3 vector points back in a subroutine.
I would include some code but its basically the example from Math:Project3D. Which i hope i do not need. Any advice, or known examples are greatly appreciated. Zaxo had a nice snippet but i got lost in the fact that there were only 2 vector points. Seems like the answer is in there somewhere though.
thanks for reading.