Skip to content

shz_vec2_round

Markdown
SHZ_INLINE shz_vec2_t shz_vec2_round(shz_vec2_t vec) SHZ_NOEXCEPT;

Returns a 2D vector whose components are the rounded values of the given vector's components.

NameTypeDescription
vecshz_vec2_t

shz_vec2_t