lerp31x31

fun lerp31x31(start: FloatArray, end: FloatArray, alpha: Float): FloatArray

Perform linear interpolation between two 3x1 vectors.

Return

The interpolated vector as a 1D array of 3 elements (x, y, z).

Parameters

start

The start 3x1 vector

end

The end 3x1 vector

alpha

The interpolation factor