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

Method dot

src/main/java/field/linalg/Quat.java:178–180  ·  view source on GitHub ↗

Return the dot product of this Quat and otherQuat . @param otherQuat the other quaternion @return the dot product

(Quat otherQuat)

Source from the content-addressed store, hash-verified

176 * @param otherQuat the other quaternion
177 * @return the dot product
178 */
179 public double dot(Quat otherQuat) {
180 return this.x * otherQuat.x + this.y * otherQuat.y + this.z * otherQuat.z + this.w * otherQuat.w;
181 }
182
183 /**

Callers 1

nlerpMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected