src/viewer.js
function() {
    if (!this._resize) {
      return;
    }
    this._resize = false;
    this._cam.setViewportSize(this._canvas.viewportWidth(), 
                              this._canvas.viewportHeight());
    this._pickBuffer.resize(this._options.width, this._options.height);
  }
function() {
    if (!this._resize) {
      return;
    }
    this._resize = false;
    this._cam.setViewportSize(this._canvas.viewportWidth(), 
                              this._canvas.viewportHeight());
    this._pickBuffer.resize(this._options.width, this._options.height);
  }
function ( ) { if ( ! this . _resize ) { return ; } this . _resize = false ; this . _cam . setViewportSize ( this . _canvas . viewportWidth ( ) , this . _canvas . viewportHeight ( ) ) ; this . _pickBuffer . resize ( this . _options . width , this . _options . height ) ; }
with rendering to avoid flickering.
with rendering to avoid flickering .