function
cross(_vector)
Returns the cross product of this vector and the specified vector.
Name | Type | Description |
---|---|---|
_vector | vec3 |
The vector to compute the cross product with. |
vec3
The cross product.
vec1 = new Vec3(10, 10, 10);
vec2 = new Vec3(5, 5, 5);
show_debug_message(vec1.cross(vec2)); // Result: { x : 0, y : 0, z : 0 }
Copyright © 2020, eL-Falso. Built on December 14, 2020 using GMDoc.