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