Skip to content

Commit ace5b8c

Browse files
committed
Update Animation.js
1 parent fd5f39f commit ace5b8c

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/animations/Animation.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -478,10 +478,6 @@ var Animation = new Class({
478478
*/
479479
getNextTick: function (component)
480480
{
481-
// accumulator += delta * _timeScale
482-
// after a large delta surge (perf issue for example) we need to adjust for it here
483-
484-
// When is the next update due?
485481
component.accumulator -= component.nextTick;
486482

487483
component.nextTick = component.msPerFrame + component.currentFrame.duration;
@@ -516,8 +512,6 @@ var Animation = new Class({
516512
{
517513
var frame = component.currentFrame;
518514

519-
// TODO: Add frame skip support
520-
521515
if (frame.isLast)
522516
{
523517
// We're at the end of the animation
@@ -617,8 +611,6 @@ var Animation = new Class({
617611
{
618612
var frame = component.currentFrame;
619613

620-
// TODO: Add frame skip support
621-
622614
if (frame.isFirst)
623615
{
624616
// We're at the start of the animation

0 commit comments

Comments
 (0)