fastSquad

external fun fastSquad(q0: Quaternion, q1: Quaternion, s0: Quaternion, s1: Quaternion, t: Double, result: Quaternion): Quaternion(source)

Computes the spherical quadrangle interpolation between quaternions. An implementation that is faster than Quaternion.squad, but less accurate.

Return

The modified result parameter or a new instance if none was provided.

Parameters

q0

The first quaternion.

q1

The second quaternion.

s0

The first inner quadrangle.

s1

The second inner quadrangle.

t

The time in 0,1 used to interpolate.

result

The object onto which to store the result.

See also