Improved camera stuff

This commit is contained in:
Thomas FORGIONE 2015-08-24 17:18:51 +02:00
parent 25d6d3a89a
commit af7b26efab
1 changed files with 2 additions and 2 deletions

View File

@ -340,8 +340,8 @@ L3D.PointerCamera.prototype.normalMotion = function(time) {
if ( this.isLocked() || this.dragging) {
this.theta += (this.mouseMove.x * 20 / time);
this.phi -= (this.mouseMove.y * 20 / time);
this.theta += (this.mouseMove.x * time / 20);
this.phi -= (this.mouseMove.y * time / 20);
this.mouseMove.x = 0;
this.mouseMove.y = 0;