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

Method div

src/main/java/field/linalg/Vec2.java:814–818  ·  view source on GitHub ↗

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

(Vec2 v)

Source from the content-addressed store, hash-verified

812 * @return this
813 */
814 public Vec2 div(Vec2 v) {
815 x /= v.x;
816 y /= v.y;
817 return this;
818 }
819
820 /**
821 * Divide this Vec2 component-wise by another Vec2 and store the result in <code>dest</code>.

Callers 7

__DIVIDE__Method · 0.45
__div__Method · 0.45
__rdiv__Method · 0.45
unprojectInvMethod · 0.45
projectMethod · 0.45
__div__Method · 0.45
__rdiv__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected