Documentation
Dlang.org
Vec2.length
graphene
vec2
Vec2
Computes the length of the given vector.
class
Vec2
float
length
(
)
Return Value
Type:
float
the length of the vector
graphene
vec2
Vec2
functions
add
divide
dot
equal
getX
getY
initFromFloat
initFromVec2
init_
interpolate
length
max
min
multiply
near
negate
normalize
scale
subtract
toFloat
static functions
alloc
one
xAxis
yAxis
zero
Computes the length of the given vector.