src/orbit-controls.js
/**
   * Unbinds all listeners and disables the controls
   *
   * @return {void}
   */
Unbinds all listeners and disables the controls
@return {void}
Unbinds all listeners and disables the controls @return { void }
disable() {
    this.element.removeEventListener('mousedown', this.mouseDown, false);
    this.element.removeEventListener('mousemove', this.mouseMove, false);
    this.element.removeEventListener('mouseup', this.mouseUp, false);
    this.element.removeEventListener('mouseout', this.mouseOut, false);
    this.element.removeEventListener('touchstart', this.touchStart, false);
    this.element.removeEventListener('touchmove', this.touchMove, false);
    this.element.removeEventListener('touchend', this.touchEnd, false);
    this.element.removeEventListener('touchleave', this.touchLeave, false);
    this.element.removeEventListener('mousewheel', this.mouseWheel, false);
    this.element.removeEventListener('mouseover', this.mouseOver, false);
    this.element.removeEventListener('mouseout', this.mouseOut, false);
    this.enabled = false;
  }
disable ( ) { this . element . removeEventListener ( 'mousedown' , this . mouseDown , false ) ; this . element . removeEventListener ( 'mousemove' , this . mouseMove , false ) ; this . element . removeEventListener ( 'mouseup' , this . mouseUp , false ) ; this . element . removeEventListener ( 'mouseout' , this . mouseOut , false ) ; this . element . removeEventListener ( 'touchstart' , this . touchStart , false ) ; this . element . removeEventListener ( 'touchmove' , this . touchMove , false ) ; this . element . removeEventListener ( 'touchend' , this . touchEnd , false ) ; this . element . removeEventListener ( 'touchleave' , this . touchLeave , false ) ; this . element . removeEventListener ( 'mousewheel' , this . mouseWheel , false ) ; this . element . removeEventListener ( 'mouseover' , this . mouseOver , false ) ; this . element . removeEventListener ( 'mouseout' , this . mouseOut , false ) ; this . enabled = false ; }
Unbinds all listeners and disables the controls
 @return {void}
Unbinds all listeners and disables the controls @return { void }