Documentation
Dlang.org
Vec2.negate
graphene
vec2
Vec2
Negates the given #graphene_vec2_t.
class
Vec2
void
negate
(
out
graphene.vec2.Vec2
res
)
Parameters
res
graphene
.
vec2
.
Vec2
return location for the result 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
Negates the given #graphene_vec2_t.