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

Method div

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

Divide this Vec3 component-wise by another Vec3. @param v the vector to divide by @return this

(Vec3 v)

Source from the content-addressed store, hash-verified

748 * @return this
749 */
750 public Vec3 div(Vec3 v) {
751 x /= v.x;
752 y /= v.y;
753 z /= v.z;
754 return this;
755 }
756
757 /**
758 * Divide this Vec3 component-wise by another Vec3 and store the result in <code>dest</code>.

Callers 2

__div__Method · 0.45
__rdiv__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected