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