Matthias Richter
28b698fb00
Eliminate use of module(...) function
2011-07-06 14:19:31 +02:00
Matthias Richter
610de8fc98
Make periodic timer stoppable
2011-06-04 15:45:25 +02:00
Matthias Richter
c3e78cce45
Code cleanup
2011-04-24 21:12:33 +02:00
Matthias Richter
762de78e51
API change: Call interpolator only when interpolation ongoing.
2011-01-20 15:26:12 +01:00
Matthias Richter
9bcb428555
Make proper tail recursion calls
2011-01-19 16:41:59 +01:00
Matthias Richter
d1d6dbb056
Make proper modules
2011-01-18 17:44:38 +01:00
Matthias Richter
0dc9eacc57
Bugfix: Timer.update(dt) sometimes fails on `for'
...
Deleting functions from the function register while looping over
it could break the next-iterator in the for loop. To prevent that
from happening, we collect the functions to be deleted and delete
them in an extra loop.
Functions will still only be called after they have been removed
from the timer register.
2011-01-12 12:18:37 +01:00
Matthias Richter
f093abdad1
Forward interpolating function arguments, add oscillator
2010-10-18 12:31:01 +02:00
Matthias Richter
12dd144d0b
forward return value of interpolating function
2010-10-17 16:28:50 +02:00
Matthias Richter
2579a7f6bc
Return nil if interpolation is stopped
2010-10-17 16:03:52 +02:00
Matthias Richter
0be37cfbba
add timer module
2010-10-17 15:06:35 +02:00