Reset also reset motion

This commit is contained in:
Thomas FORGIONE 2015-05-12 16:02:42 +02:00
parent 9803521434
commit 2447cb5aa8
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ PointerCamera.prototype.normalMotion = function() {
PointerCamera.prototype.reset = function() { PointerCamera.prototype.reset = function() {
this.resetBobomb(); this.resetBobomb();
this.moving = false;
this.movingHermite = false;
// this.position.copy(new THREE.Vector3(-8.849933489419644, 9.050627639459208, 0.6192960680432451)); // 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.target.copy(new THREE.Vector3(17.945323228767702, -15.156828589982375, -16.585740412769756));
// this.anglesFromVectors(); // this.anglesFromVectors();