lerp

fun lerp(start: Cartesian4, end: Cartesian4, t: Double, result: Cartesian4): Cartesian4(source)

Computes the linear interpolation or extrapolation at t using the provided cartesians.

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