in reply to Polar Co-Ordinates: Rotating a 3D cartesian point around a fixed axis?

Have a look at Math::Trig as is contains cartesian_to_cylindrical,cartesian_to_spherical etc. so should already do what you need.

  • Comment on Re: Polar Co-Ordinates: Rotating a 3D cartesian point around a fixed axis?