sily ~master (2022-12-01T21:23:14Z)
Dub
Repo
Vector.max
sily
vector
Vector
Clamps vector values to max
struct
Vector
(T, size_t N)
static if
(
isFloatingPoint!T
)
void
max
(
VecType
b
)
if
(
isNumeric
!
T
&&
N
> 0
)
Parameters
b
VecType
Maximal Vector
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 to max