Skip to content

shz_vec2_angle

Markdown
SHZ_INLINE float shz_vec2_angle(shz_vec2_t vec) SHZ_NOEXCEPT;

Returns the angle formed between the positive X axis and the given 2D vector, in radians.

NameTypeDescription
vecshz_vec2_t

float