min method

Vector2 min(
  1. Vector2 v
)

Implementation

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

  return this;
}