index/vec2.js
function(v, returnNew) {
      var
      tx = this.x,
      ty = this.y,
      vx = v.x,
      vy = v.y,
      x = tx < vx ? tx : vx,
      y = ty < vy ? ty : vy;

      if (returnNew) {
        return new Vec2(x, y);
      } else {
        return this.set(x, y);
      }
    }
function(v, returnNew) {
      var
      tx = this.x,
      ty = this.y,
      vx = v.x,
      vy = v.y,
      x = tx < vx ? tx : vx,
      y = ty < vy ? ty : vy;

      if (returnNew) {
        return new Vec2(x, y);
      } else {
        return this.set(x, y);
      }
    }
function ( v , returnNew ) { var tx = this . x , ty = this . y , vx = v . x , vy = v . y , x = tx < vx ? tx : vx , y = ty < vy ? ty : vy ; if ( returnNew ) { return new Vec2 ( x , y ) ; } else { return this . set ( x , y ) ; } }
Return a new `Vec2` consisting of the smallest values from this vector and the incoming  When returnNew is truthy, a new `Vec2` will be returned otherwise the minimum values in either this or `v` will be applied to this vector.
Return a new Vec2 consisting of the smallest values from this vector and the incoming When returnNew is truthy a new Vec2 will be returned otherwise the minimum values in either this or v will be applied to this vector .