index/vec2.js
function(returnNew) {
      var x = Math.abs(this.x), y = Math.abs(this.y);

      if (returnNew) {
        return new Vec2(x, y);
      } else {
        return this.set(x, y);
      }
    }
function(returnNew) {
      var x = Math.abs(this.x), y = Math.abs(this.y);

      if (returnNew) {
        return new Vec2(x, y);
      } else {
        return this.set(x, y);
      }
    }
function ( returnNew ) { var x = Math . abs ( this . x ) , y = Math . abs ( this . y ) ; if ( returnNew ) { return new Vec2 ( x , y ) ; } else { return this . set ( x , y ) ; } }
Return a new `Vec2` that contains the absolute value of each of this vector's parts
Return a new Vec2 that contains the absolute value of each of this vector s parts