From 2447cb5aa897634be80009557a97dc80fe5f9bfa Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 12 May 2015 16:02:42 +0200 Subject: [PATCH] Reset also reset motion --- static/js/PointerCamera.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/PointerCamera.js b/static/js/PointerCamera.js index 83f1132..31e3c15 100644 --- a/static/js/PointerCamera.js +++ b/static/js/PointerCamera.js @@ -156,6 +156,8 @@ PointerCamera.prototype.normalMotion = function() { PointerCamera.prototype.reset = function() { this.resetBobomb(); + this.moving = false; + this.movingHermite = false; // this.position.copy(new THREE.Vector3(-8.849933489419644, 9.050627639459208, 0.6192960680432451)); // this.target.copy(new THREE.Vector3(17.945323228767702, -15.156828589982375, -16.585740412769756)); // this.anglesFromVectors();