提交 7352e15f 编写于 作者: M Mr.doob

Merge pull request #7422 from shshaw/patch-2

Removed unnecessary touchZoomDistance resets
......@@ -561,12 +561,10 @@ THREE.TrackballControls = function ( object, domElement ) {
case 0:
_state = STATE.NONE;
_touchZoomDistanceStart = _touchZoomDistanceEnd = 0;
break;
case 1:
_state = STATE.TOUCH_ROTATE;
_touchZoomDistanceStart = _touchZoomDistanceEnd = 0;
_moveCurr.copy( getMouseOnCircle( event.touches[ 0 ].pageX, event.touches[ 0 ].pageY ) );
_movePrev.copy( _moveCurr );
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册