sole/tween.js — pull request #114 by infusion (2014-04-20 10:08:51+00:00)
Title: Improved performance by not relying on an own timer

Hi,

the requestAnimationFrame does a bit more than just providing a loop. It gives you the timer as an argument. As tween.js already has the option to pass the time optionally, it's quite easy to improve performance, by adding a new parameter and avoiding an additional call to an own timer.

In this case, I just added the new parameter to the examples for documentation purposes.

Robert