Skip to content

shz_vec4_lerp

Markdown
SHZ_INLINE shz_vec4_t shz_vec4_lerp(shz_vec4_t a, shz_vec4_t b, float t) SHZ_NOEXCEPT;

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

NameTypeDescription
ashz_vec4_t
bshz_vec4_t
tfloat

shz_vec4_t