Use input for `zoomBy`

feature/threejs-update
Matthew Harrison-Jones 2016-11-18 11:14:19 +00:00
rodzic 0f2deaf85e
commit 417c482321
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2BFA474C82C30A2C
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -38,9 +38,9 @@ class Orbit extends EventEmitter {
var controls = this._controls;
if (metresDelta < 0) {
controls.dollyIn(0.95);
controls.dollyIn(Math.abs(metresDelta));
} else {
controls.dollyOut(0.95);
controls.dollyOut(metresDelta);
}
}