hi there, I dropped out for a while.
On Thu, 20 Apr 2006 rodrigo@anorg.net wrote:
is there an abstraction or external to transform 3D cartesian coordinates to polar ones? If you can give me a hint, you would save me the trigonometrical pain (I'm bad at this stuff).
Three-dimensional? You mean cylindrical or spherical?
BTW no-one agrees on how to do spherical, so from one formula to another, cos and sin are often swapped, sign changes, order of arguments change, etc.
I did a little research. I meant spherical, and yes I've seen the problems with the signs and so on. I finnaly made my own abtraction and it works. Thanks for the info.
cheers rodrigo
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada