lerp

fun lerp(start: Cartesian2, end: Cartesian2, t: Double, result: Cartesian2): Cartesian2(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