subtract


Description:

[ Version ( since = "1.0" ) ]
public Vec2 subtract (Vec2 b)

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

Parameters:

this

a Vec2

b

a Vec2

res

return location for the result