dgt ~master (2017-09-21T16:04:46Z)
Dub
Repo
Vector.clamp
dgt
geom
Vector
Clamp a vector somewhere between a minimum and a maximum
struct
Vector
@
nogc
nothrow pure
Vector
clamp
const
(
in
Vector
min
,
in
Vector
max
)
Meta
Source
See Implementation
dgt
geom
Vector
constructors
this
functions
clamp
cross
dot
normalize
properties
inverse
len
len2
xComp
yComp
Clamp a vector somewhere between a minimum and a maximum