Skip to content

shz_quat_slerp

Markdown
SHZ_INLINE shz_quat_t shz_quat_slerp(shz_quat_t q, shz_quat_t p, float t) SHZ_NOEXCEPT;

Returns the quaternion that is spherically linearly interpolating a to b, by a t factor of 0.0f-1.0f.

NameTypeDescription
qshz_quat_t
pshz_quat_t
tfloat

shz_quat_t