Skip to content

vec2Slerp

vec2Slerp(a, b, t): Vec2

Defined in: math-linear/src/vec2.ts:306

Spherical linear interpolation between two 2D unit vectors along the arc of the unit circle. Both a and b should be unit-length for correct results.

Vec2

Vec2

number

Vec2