phi
is an angle that relates to which axis in the THREE.OrbitControl
code snippet provided below?
phi += phiDelta;
// Ensure phi stays within specified limits
phi = Math.max( this.minPolarAngle, Math.min( this.maxPolarAngle, phi ) );
I believe that theta
corresponds to the angle with the y-axis in the code since it handles "up" rotation.
However, I am uncertain whether phi
represents an angle related to the x-axis or z-axis.