6cd9596
1
2
3
4
5
6
7
8
9
10
11
12
13
function updateManySetup() { var numAdditions = 1e4; for (var i = 0; i < numAdditions; ++i) { var currentTween = new TWEEN.Tween({a: 0.0}); currentTween.to({a: 1.0}, 1.0); currentTween.start(0.0); } } function updateMany() { TWEEN.update(0.5); }