bettercmath ~main (2021-12-22T08:40:51.796057)
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.