handleMouseWheel method

dynamic handleMouseWheel(
  1. dynamic event
)

Implementation

handleMouseWheel(event) {
  if (event.deltaY < 0) {
    dollyIn(getZoomScale());
  } else if (event.deltaY > 0) {
    dollyOut(getZoomScale());
  }

  scope.update();
}