pp ~master (2018-05-25T20:29:15Z)
Dub
Repo
Clamp
polyplex
math
mathf
Clamps scalar elements
T
Clamp
pure nothrow
(
T
)
(
T
x
,
T
min
,
T
max
)
if
(
__traits(
isScalar
,
T
)
)
Meta
Source
See Implementation
polyplex
math
mathf
aliases
Mix
Smoothstep
functions
ApproxEquals
Clamp
CosineInterpolation
CubicInterpolation
HermiteInterpolation
LinearInterpolation
Max
Min
Step
ToDegrees
ToRadians
variables
TAU
Clamps scalar elements