function
cmple(_vector)
Performs a vertical <= comparison between self and _vector.
Name | Type | Description |
---|---|---|
_vector | vec2 |
The vector to compare with. |
bool
Result of the equation.
vec1 = new Vec2(10, 7);
vec2 = new Vec2(10, 6);
vec3 = new Vec2(0, 2);
show_debug_message(vec1.cmple(vec2)); // Result: false
vec1.sub(vec3);
show_debug_message(vec1.cmple(vec2)); // Result: true
Copyright © 2020, eL-Falso. Built on December 14, 2020 using GMDoc.