max method

Vector2 max(
  1. Vector2 v
)

Implementation

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

  return this;
}