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

Method max

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

Sets this to be the component-wise maximum of this and another vector @param a the other vector @return this

(Vec3 a)

Source from the content-addressed store, hash-verified

1533 * @return this
1534 */
1535 public Vec3 max(Vec3 a) {
1536 this.x = Math.max(a.x, this.x);
1537 this.y = Math.max(a.y, this.y);
1538 this.z = Math.max(a.z, this.z);
1539 return this;
1540 }
1541
1542 /**
1543 * a Vec3 is a Supplier of type Vec3

Callers 2

boundingBoxMethod · 0.95
angleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected