kopia lustrzana https://github.com/robhawkes/vizicities
Updated build
rodzic
81520e80db
commit
5e451431da
|
@ -17119,8 +17119,10 @@ THREE.OrbitControls = function ( object, domElement ) {
|
|||
}
|
||||
|
||||
function getZoomScale() {
|
||||
// Reduce zoom speed when using touch control
|
||||
var zoomSpeed = (state === STATE.TOUCH_DOLLY) ? scope.zoomSpeed : scope.zoomSpeed * 0.7;
|
||||
|
||||
return Math.pow( 0.95, scope.zoomSpeed );
|
||||
return Math.pow( 0.95, zoomSpeed );
|
||||
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Ładowanie…
Reference in New Issue