Skip to content

shz_vec3_project

Markdown
SHZ_INLINE shz_vec3_t shz_vec3_project(shz_vec3_t vec, shz_vec3_t onto) SHZ_NOEXCEPT;

Returns the resulting vector from projecting the given 3D vector along the given (unit) axis.

NameTypeDescription
vecshz_vec3_t
ontoshz_vec3_t

shz_vec3_t