MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / dot

Method dot

src/main/java/com/volmit/adapt/util/Vector3f.java:143–145  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 1

angleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected