VectorToAngle(vector)

Converts a vector variable to an angle.

float VectorToAngle(
    vector vVector
);

Parameters

vVector

The vector to convert into an angle.


Description

Returns the value of vVector converted into an angle by comparing the supplied vVector to another vector at (0, 0, 0).



Version

1.26

See Also

functions: AngleToVector | Vector
categories: Type Casting/Conversion Functions


 author: Charles Feduke, editor: John Shuell, additional contributor(s): Cheiron, Keith Voss