Skip to content

shz_vec2_magnitude_sqr

Markdown
SHZ_INLINE float shz_vec2_magnitude_sqr(shz_vec2_t vec) SHZ_NOEXCEPT;

Returns the squared magnitude of the given 2D vector.

NameTypeDescription
vecshz_vec2_t

float