Vec2.-

static Vec2 -(Vec2 a)

Vector negation, returns a vector where each component has been negated.

   
Vec2 a Any vector.
RETURNS: Vec2 A vector where each component has been negated.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!