Polar to Cartesian Conversion
The Coordinate system I have on paper looks like :
mu ( a vector)
+X * . (projection of mu)
The angle between mu and the z-axis is *theta* and the angle between the projection of mu and the x-axis is *Phi*. Theta and phi are equivalent to the following components :
X = mu.sin(theta).cos(phi)
Y = mu.sin(theta).sin(phi)
Z = mu.cos(theta)
Whereas j3d coordinate system looks like :
How can I convert theta and phi in my system, to x,y and z in j3d's ?
Does it make sense to just map the axii in this way ?
X_java = Y = mu.sin(theta).sin(phi)
Y_java = Z = mu.cos(theta)
Z_java = X = mu.sin(theta).cos(phi)