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;
}