onDoublePanStart method
dynamic
onDoublePanStart()
Implementation
onDoublePanStart() {
if (enabled && enablePan) {
dispatchEvent(_startEvent);
updateTbState(State2.pan, true);
setCenter((_touchCurrent[0].clientX + _touchCurrent[1].clientX) / 2,
(_touchCurrent[0].clientY + _touchCurrent[1].clientY) / 2);
_startCursorPosition.copy(unprojectOnTbPlane(camera, _center.x, _center.y, domElement, true));
_currentCursorPosition.copy(_startCursorPosition);
activateGizmos(false);
}
}