Skip to content

shz_vec3_lerp

Markdown
SHZ_INLINE shz_vec3_t shz_vec3_lerp(shz_vec3_t a, shz_vec3_t b, float t) SHZ_NOEXCEPT;

Returns a 3D vector that is linearly interpolated from a to b by the given 0.0f-1.0f factor, t.

NameTypeDescription
ashz_vec3_t
bshz_vec3_t
tfloat

shz_vec3_t