Skip to content

shz_vec3_from_angles_deg

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

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

NameTypeDescription
azimuthfloat
elevationfloat

shz_vec3_t