function
negate()
Negates the vector.
vec2
The negated vector.
vec1 = new Vec2(10, 10);
show_debug_message(vec1.negate()); // Result: { x : -10, y : -10 }
Copyright © 2020, eL-Falso. Built on December 14, 2020 using GMDoc.