liberty-engine ~master (2019-02-13T12:42:06Z)
Dub
Repo
clamp
liberty
math
functions
* Clamp x in [min, max].
T
clamp
(
T
)
(
T
x
,
T
min
,
T
max
)
Meta
Source
See Implementation
liberty
math
functions
functions
barryCentric
clamp
degrees
fract
ilog2
inverseSqrt
isPowerOf2
lerp
lfloor
ltrunc
moduloWrap
nextPowerOf2
radians
safeAcos
safeAsin
sinOverX
smoothStep
step
* Clamp x in [min, max].