Packages
graphene-gobject-1.0
Graphene
Vec2
one
x_axis
y_axis
zero
add
divide
dot
equal
get_x
get_y
init
init_from_float
init_from_vec2
interpolate
length
max
min
multiply
near
negate
normalize
scale
subtract
to_float
length
Description:
[
Version
( since =
"1.0"
) ]
public
float
length
()
Computes the length of the given vector.
Parameters:
this
a
Vec2
Returns:
the length of the vector