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

Method min

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

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

(Vec2 a)

Source from the content-addressed store, hash-verified

1339 * @return this
1340 */
1341 public Vec2 min(Vec2 a) {
1342 this.x = Math.min(a.x, this.x);
1343 this.y = Math.min(a.y, this.y);
1344 return this;
1345 }
1346
1347 /**
1348 * Sets this to be the component-wise maximum of this and another vector

Callers 15

boundingBoxMethod · 0.95
bnFunction · 0.45
wnFunction · 0.45
jnFunction · 0.45
pFunction · 0.45
xrFunction · 0.45
WrFunction · 0.45
buFunction · 0.45
tFunction · 0.45
BuFunction · 0.45
uFunction · 0.45
rFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected