max method

Vector4 max(
  1. Vector4 v
)

Implementation

Vector4 max(Vector4 v) {
  x = math.max(x, v.x);
  y = math.max(y, v.y);
  z = math.max(z, v.z);
  w = math.max(w, v.w);

  return this;
}