( vector )
| 33071 | // Angle above the XZ plane. |
| 33072 | |
| 33073 | function inclination( vector ) { |
| 33074 | |
| 33075 | return Math.atan2( - vector.y, Math.sqrt( ( vector.x * vector.x ) + ( vector.z * vector.z ) ) ); |
| 33076 | |
| 33077 | } |
| 33078 | |
| 33079 | |
| 33080 | // Texture fixing helper. Spheres have some odd behaviours. |