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