Slerp31x31v

fun Slerp31x31v(start: FloatArray, startOffset: Int, end: FloatArray, endOffset: Int, alpha: Float): FloatArray

Performs spherical linear interpolation between two 3x1 vectors.

Return

The interpolated 3x1 vector

Parameters

start

The start 3x1 vector

startOffset

The offset within the start vector

end

The end 3x1 vector

endOffset

The offset within the end vector

alpha

The interpolation parameter