Skip to content

slerpv

vector2  slerpv(vector2 v1, vector2 v2, float bias)

vector  slerpv(vector v1, vector v2, float bias)

Blends between vectors v1 and v2 based on the bias.

The directions are interpolated spherically and the magnitudes are interpolated linearly.