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

Method min

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

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

(Vec3 a)

Source from the content-addressed store, hash-verified

1520 * @return this
1521 */
1522 public Vec3 min(Vec3 a) {
1523 this.x = Math.min(a.x, this.x);
1524 this.y = Math.min(a.y, this.y);
1525 this.z = Math.min(a.z, this.z);
1526 return this;
1527 }
1528
1529 /**
1530 * Sets this to be the component-wise maximum of this and another vector

Callers 2

boundingBoxMethod · 0.95
angleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected