Skip to content

Commit 5950bc8

Browse files
committed
Added some comments.
1 parent 2a19a02 commit 5950bc8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

v3/src/animation/frame/GetNextTick.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
var GetNextTick = function (component)
22
{
3+
// accumulator += delta * _timeScale
4+
// after a large delta surge (perf issue for example) we need to adjust for it here
5+
36
// When is the next update due?
47
component.accumulator -= component.nextTick;
8+
59
component.nextTick = component.msPerFrame + component.currentFrame.duration;
610
};
711

0 commit comments

Comments
 (0)