index/vec2.js
function(x, y, silent) {
      if('number' != typeof x) {
        silent = y;
        y = x.y;
        x = x.x;
      }
      if(this.x === x && this.y === y)
        return this;

      this.x = Vec2.clean(x);
      this.y = Vec2.clean(y);

      if(silent !== false)
        return this.change();
    }
function(x, y, silent) {
      if('number' != typeof x) {
        silent = y;
        y = x.y;
        x = x.x;
      }
      if(this.x === x && this.y === y)
        return this;

      this.x = Vec2.clean(x);
      this.y = Vec2.clean(y);

      if(silent !== false)
        return this.change();
    }
function ( x , y , silent ) { if ( 'number' != typeof x ) { silent = y ; y = x . y ; x = x . x ; } if ( this . x === x && this . y === y ) return this ; this . x = Vec2 . clean ( x ) ; this . y = Vec2 . clean ( y ) ; if ( silent !== false ) return this . change ( ) ; }
set x and y
set x and y