gtk-d ~gtk4 (2021-12-20T08:37:41.4817885)
Dub
Repo
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
Meta
Since
1.0
Source
See Implementation
graphene
Vec2
Vec2
constructors
this
destructors
~this
functions
add
divide
dot
equal
free
getStruct
getVec2Struct
getX
getY
init
initFromFloat
initFromVec2
interpolate
length
max
min
multiply
near
negate
normalize
scale
subtract
toFloat
static functions
getType
one
xAxis
yAxis
zero
variables
graphene_vec2
ownedRef
Computes the length of the given vector.