lerp

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