sily ~master (2022-12-01T21:23:14Z)
Dub
Repo
Vector.clamp
sily
vector
Vector
Clamps vector values
struct
Vector
(T, size_t N)
static if
(
isFloatingPoint!T
)
void
clamp
(
VecType
p_min
,
VecType
p_max
)
if
(
isNumeric
!
T
&&
N
> 0
)
Meta
Source
See Implementation
sily
vector
Vector
aliases
VecType
dataType
isNormalised
normalise
constructors
this
functions
abs
ceil
clamp
copyof
distanceSquaredTo
distanceTo
dot
floor
isClose
isNormalized
length
lengthSquared
lerp
limitLength
max
min
normalize
opBinary
opBinaryRight
opCmp
opEquals
opOpAssign
opUnary
ptr
round
sign
snap
toHash
toString
manifest constants
AccessString
mixins
__anonymous
variables
data
size
Clamps vector values