onRotateStart method
dynamic
onRotateStart()
Implementation
onRotateStart() {
if (enabled && enableRotate) {
dispatchEvent(_startEvent);
updateTbState(State2.zRotate, true);
//_startFingerRotation = event.rotation;
_startFingerRotation = getAngle(_touchCurrent[1], _touchCurrent[0]) + getAngle(_touchStart[1], _touchStart[0]);
_currentFingerRotation = _startFingerRotation;
camera.getWorldDirection(_rotationAxis); //rotation axis
if (!enablePan && !enableZoom) {
activateGizmos(true);
}
}
}