liberty-engine v0.0.14-beta.2 (2018-07-02T09:50:23Z)
Dub
Repo
clamp
liberty
math
functions
Clamp x in [min, max].
pure nothrow @
safe
@
nogc
T
clamp
(
T
)
(
T
x
,
T
min
,
T
max
)
Meta
Source
See Implementation
liberty
math
functions
functions
clamp
degrees
fract
ilog2
inverseSqrt
isPowerOf2
lerp
lfloor
ltrunc
moduloWrap
nextPowerOf2
radians
safeAcos
safeAsin
sinOverX
smoothStep
step
Clamp x in [min, max].