public static Vector2 max(Vector2 o1,Vector2 o2){
  return new Vector2(Math.max(o1.x,o2.x),Math.max(o1.z,o2.z));
}

public static Vector2 max ( Vector2 o1 , Vector2 o2 ) { return new Vector2 ( Math . max ( o1 . x , o2 . x ) , Math . max ( o1 . z , o2 . z ) ) ; }
returns a vector2 containing the largest x and y values .
