subtract

fun subtract(b: Vec2, res: Vec2)

Subtracts from each component of the first operand @a the corresponding component of the second operand @b and places each result into the components of @res.

Since

1.0

Parameters

b

a #graphene_vec2_t

res

return location for the result