bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
lerp
bettercmath
misc
Linearly interpolates values
from
and
to
by
amount
.
T
lerp
(T from, T to, U amount)
T
lerp
(
T
U
)
(
const
T
from
,
const
T
to
,
const
U
amount
)
T
lerp
(T[2] fromTo, U amount)
Meta
Source
See Implementation
bettercmath
misc
aliases
deg2rad
rad2deg
functions
degreesToRadians
lerp
radiansToDegrees
templates
FloatType
Linearly interpolates values from and to by amount.