Skip to content

shz_vec2_half_angle

Markdown
SHZ_INLINE shz_vec2_t shz_vec2_half_angle(shz_vec2_t a, shz_vec2_t b) SHZ_NOEXCEPT;

Returns the 2D unit vector pointing halfway between the two vectors. Used for lighting.

NameTypeDescription
ashz_vec2_t
bshz_vec2_t

shz_vec2_t