slerp

fun slerp(start: Quaternion, end: Quaternion, t: Double, result: Quaternion): Quaternion(source)

Computes the spherical linear interpolation or extrapolation at t using the provided quaternions.

Return

The modified result parameter.

Parameters

start

The value corresponding to t at 0.0.

end

The value corresponding to t at 1.0.

t

The point along t at which to interpolate.

result

The object onto which to store the result.

See also