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