Skip to content

shz_vec3_from_angles

Markdown
SHZ_INLINE shz_vec3_t shz_vec3_from_angles(float azimuth, float elevation) SHZ_NOEXCEPT;

Returns the 3D unit vector representing the given rotation angles relative to the positive X axis in radians.

NameTypeDescription
azimuthfloat
elevationfloat

shz_vec3_t