Skip to content

shz_vec3_half_angle

Markdown
SHZ_INLINE shz_vec3_t shz_vec3_half_angle(shz_vec3_t a, shz_vec3_t b) SHZ_NOEXCEPT;

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

NameTypeDescription
ashz_vec3_t
bshz_vec3_t

shz_vec3_t