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