d2d ~master (2018-04-09T05:09:26Z)
Home
Dub
Repo
Vector.magnitude
d2d
math
Vector
Vector
Sets the length of the vector Maintains component ratios of the vector
double
magnitude
[@property setter]
class
Vector
(T, uint dimensions)
@
property
void
magnitude
(
double
mag
)
double
magnitude
[@property getter]
Meta
Source
See Implementation
d2d
math
Vector
Vector
constructors
this
functions
apply
opAssign
opBinary
opCast
opEquals
opOpAssign
opUnary
toString
properties
directionAngles
magnitude
unions
__anonymous
Sets the length of the vector Maintains component ratios of the vector