Skip to content

shz_vec2_from_angle_deg

Markdown
SHZ_INLINE shz_vec2_t shz_vec2_from_angle_deg(float degrees) SHZ_NOEXCEPT;

Returns the 2D unit vector representing a rotation from the positive X axis in degrees.

NameTypeDescription
degreesfloat

shz_vec2_t