slerpFlat

fun slerpFlat(dst: DoubleArray, dstOffset: Int, src0: DoubleArray, srcOffset0: Int, src1: DoubleArray, srcOffset1: Int, t: Double)

Interpolates between two quaternions via SLERP, assuming the quaternion data live in flat arrays.

Parameters

dst

The destination array.

dstOffset

An offset into the destination array.

src0

The source array of the first quaternion.

srcOffset0

An offset into the first source array.

src1

The source array of the second quaternion.

srcOffset1

An offset into the second source array.

t

The interpolation factor. [0, 1] interpolates; outside extrapolates.