Return the dot product of a vector and another. @param a the first vector @param v the other vector @return the dot product
(Vec3 a, Vec3 v)
| 328 | * @return the dot product |
| 329 | */ |
| 330 | public static double dot(Vec3 a, Vec3 v) { |
| 331 | return a.x * v.x + a.y * v.y + a.z * v.z; |
| 332 | } |
| 333 | |
| 334 | /** |
| 335 | * Linearly interpolate <code>a</code> and <code>b</code> using the given interpolation factor <code>t</code> and store the result in <code>dest</code>. |
no outgoing calls
no test coverage detected