Skip to content

shz_vec2_from_angle

Markdown
SHZ_INLINE shz_vec2_t shz_vec2_from_angle(float radians) SHZ_NOEXCEPT;

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

NameTypeDescription
radiansfloat

shz_vec2_t