dgt ~master (2017-09-21T16:04:46Z)
Dub
Repo
Vector.len2
dgt
geom
Vector
Get the squared length of the vector (faster than getting the length)
struct
Vector
@
nogc
nothrow pure @
property
float
len2
const
(
)
Meta
Source
See Implementation
dgt
geom
Vector
constructors
this
functions
clamp
cross
dot
normalize
properties
inverse
len
len2
xComp
yComp
Get the squared length of the vector (faster than getting the length)