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

Method max

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

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

(Vec2 a)

Source from the content-addressed store, hash-verified

1351 * @return this
1352 */
1353 public Vec2 max(Vec2 a) {
1354 this.x = Math.max(a.x, this.x);
1355 this.y = Math.max(a.y, this.y);
1356 return this;
1357 }
1358
1359 /**
1360 * a Vec2 is a Supplier of type Vec2

Callers 15

boundingBoxMethod · 0.95
executeBracketFunction · 0.45
executeBracketLimitedFunction · 0.45
restArgsFunction · 0.45
bnFunction · 0.45
wnFunction · 0.45
jnFunction · 0.45
pFunction · 0.45
WrFunction · 0.45
buFunction · 0.45
tFunction · 0.45
NuFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected