Bugs, cleaning, and tutorial improved

This commit is contained in:
Thomas FORGIONE
2015-07-09 11:44:54 +02:00
parent 9158ec36bc
commit 7d449db916
11 changed files with 58 additions and 22 deletions

View File

@@ -440,7 +440,9 @@ L3D.PointerCamera.prototype.move = function(recommendation, toSave) {
var otherCamera = recommendation.camera || recommendation;
this.movingHermite = false;
this.moving = true;
this.new_target = otherCamera.target.clone();
this.new_position = otherCamera.position.clone();
var t = [0,1];
@@ -469,6 +471,7 @@ L3D.PointerCamera.prototype.moveHermite = function(recommendation, toSave) {
var otherCamera = recommendation.camera || recommendation;
this.moving = false;
this.movingHermite = true;
this.t = 0;