Corrected bug...
This commit is contained in:
parent
4a15413b30
commit
ea56745b3f
|
@ -92,7 +92,7 @@ PointerCamera.prototype.hermiteMotion = function(time) {
|
||||||
this.target = Tools.sum(this.position, this.hermiteAngles.eval(this.t));
|
this.target = Tools.sum(this.position, this.hermiteAngles.eval(this.t));
|
||||||
|
|
||||||
this.t += 0.01 * time / 20;
|
this.t += 0.01 * time / 20;
|
||||||
fayt
|
|
||||||
if (this.t > 1) {
|
if (this.t > 1) {
|
||||||
this.movingHermite = false;
|
this.movingHermite = false;
|
||||||
this.anglesFromVectors();
|
this.anglesFromVectors();
|
||||||
|
|
Loading…
Reference in New Issue