MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / dot

Method dot

src/main/java/field/linalg/Vec3.java:330–332  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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>.

Callers 4

circumcenterOfMethod · 0.95
reflectMethod · 0.95
closestTMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected