excessive/cpml

Spherical coordinate system

davisdude opened this issue · 3 comments

Spherical coordinates are basically 3D polar coordinates. I was reading up on them, and apparently there are two common ways to do them, the "physics" way and the "math" way. Is there a certain way anybody likes better than the other?

"Physics" way:
Physics way
"Math" way
Math way

I'd go for the math way unless someone has any compelling reason otherwise.

They look pretty darn similar to me, but as @shakesoda said, the mathy way is probably most idea for a math library.

The difference is whether the second coordinate goes off of the x-axis or the z-axis.

I agree with @karai17, since it is a math library after all.