Skip to content

shz_vec2_lerp

Markdown
SHZ_INLINE shz_vec2_t shz_vec2_lerp(shz_vec2_t a, shz_vec2_t b, float t) SHZ_NOEXCEPT;

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

NameTypeDescription
ashz_vec2_t
bshz_vec2_t
tfloat

shz_vec2_t