Convert a 3D vector into a vertical angle

Miscellaneous Forums/General Discussion/Convert a 3D vector into a vertical angle

Draw it out on paper and you'll see why. Start with a cube with one corner at the origin, and the sides are the vector components. For a 45 degree vertical angle, you need x and z to both be a little shorter than Sqr(3.0).