CBA_fnc_vect2Polar

Description

Converts a 3d vector to polar Parameters: _vx - vector direction in x _vy - vector direction in y _vz - vector direction in z

Returns

a vector in the form [magnitude, azimuth, elevation].

Examples

[5, 5, 10] call CBA_fnc_vect2Polar

Author

Vigilante, courtesy by -=ACE=- of Simcentric

Close