tween
@@ -108,11 +108,12 @@ class Game
108
108
{
109
109
this.activeScenes[i].update(stepTimeCurr);
110
110
this.activeScenes[i].draw();
111
TWEEN.update();
112
111
}
113
112
114
113
this.previousStep = stepTime;
115
114
115
TWEEN.update();
116
116
117
requestAnimationFrame(this.update);
117
118
}
118
119
}
@@ -108,11 +108,12 @@ class Game108
{108
{109
this.activeScenes[i].update(stepTimeCurr);109
this.activeScenes[i].update(stepTimeCurr);110
this.activeScenes[i].draw();110
this.activeScenes[i].draw();111
TWEEN.update();112
}111
}113
112
114
this.previousStep = stepTime;113
this.previousStep = stepTime;115
114
115
TWEEN.update();116
116
requestAnimationFrame(this.update);117
requestAnimationFrame(this.update);117
}118
}118
}119
}