public static Vector2 abs(Vector2 o){
  return new Vector2(Math.abs(o.x),Math.abs(o.z));
}

public static Vector2 abs ( Vector2 o ) { return new Vector2 ( Math . abs ( o . x ) , Math . abs ( o . z ) ) ; }
sets the x and y values of the given vector2 to their absolute value .
