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
negate
Description:
[
Version
( since =
"1.2"
) ]
public
Vec2
negate
()
Negates the given
Vec2
.
Parameters:
this
a
Vec2
res
return location for the result vector