Simstim

VEX Dictionary / slerp

slerp

Spherically interpolates between two rotations, or blends a weighted list of them, via quaternion or matrix decomposition.

group: interpquaternioninterp

Available in every context

Usage

vector4 slerp(vector4 q1, vector4 q2, float bias)
vector4 slerp(vector4 qs[], float weights[], int normalize=0)
matrix3 slerp(matrix3 m1, matrix3 m2, float bias)
matrix slerp(matrix m1, matrix m2, float bias)
matrix3 slerp(matrix3 ms[], float weights[], int normalize=1)
matrix slerp(matrix ms[], float weights[], int normalize=1)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗