Vector2 min(Vector2 v) { x = Math.min(x, v.x).toDouble(); y = Math.min(y, v.y).toDouble(); return this; }