Skip to content

shz_vec4_half_angle

Markdown
SHZ_INLINE shz_vec4_t shz_vec4_half_angle(shz_vec4_t a, shz_vec4_t b) SHZ_NOEXCEPT;

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

NameTypeDescription
ashz_vec4_t
bshz_vec4_t

shz_vec4_t