reset method

dynamic reset()

Implementation

reset() {
  _state = STATE.NONE;
  _keyState = STATE.NONE;

  scope.target.copy(scope.target0);
  scope.object.position.copy(scope.position0);
  scope.object.up.copy(scope.up0);
  scope.object.zoom = scope.zoom0;

  scope.object.updateProjectionMatrix();

  _eye.subVectors(scope.object.position, scope.target);

  scope.object.lookAt(scope.target);

  scope.dispatchEvent(_changeEvent);

  lastPosition.copy(scope.object.position);
  lastZoom = scope.object.zoom;
}