Sets this to be the component-wise maximum of this and another vector @param a the other vector @return this
(Vec2 a)
| 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 |
no outgoing calls
no test coverage detected