max method
Compares each vector component of this 3D vector and the given one and stores the maximum value in this instance.
Implementation
Vector3 max(Vector3 v ) {
x = math.max( x, v.x );
y = math.max( y, v.y );
z = math.max( z, v.z );
return this;
}