Computes the dot product of this vector and vector v1. @param v1 the other vector @return the dot product of this vector and v1
(Vector3f v1)
| 141 | * @return the dot product of this vector and v1 |
| 142 | */ |
| 143 | public final float dot(Vector3f v1) { |
| 144 | return (this.x * v1.x + this.y * v1.y + this.z * v1.z); |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Sets the value of this vector to the normalization of vector v1. |