MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / dotProduct

Method dotProduct

src/main/java/net/minecraft/util/Vec3.java:60–63  ·  view source on GitHub ↗
(Vec3 vec)

Source from the content-addressed store, hash-verified

58 }
59
60 public double dotProduct(Vec3 vec)
61 {
62 return this.xCoord * vec.xCoord + this.yCoord * vec.yCoord + this.zCoord * vec.zCoord;
63 }
64
65 /**
66 * Returns a new vector with the result of this vector x the specified vector.

Callers 6

Iterator3dMethod · 0.95
setRotationAnglesMethod · 0.95
applyEntityCollisionMethod · 0.95
shouldAttackPlayerMethod · 0.95
onLivingUpdateMethod · 0.95
updateFogColorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected