Maps and Navigation SDK
common:core
/
com.tomtom.sdk.common.math
Package
com.
tomtom.
sdk.
common.
math
Functions
Functions
lerp
Link copied to clipboard
fun
lerp
(
start
:
Double
,
stop
:
Double
,
@
FloatRange
(
from
=
0.0
,
to
=
1.0
)
fraction
:
Double
)
:
Double
Content copied to clipboard
Linearly interpolate between
start
and
stop
with
fraction
between them.