Revision 0273ef2a
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/library/effectqueue/EffectQueueMatrix.java | ||
---|---|---|
72 | 72 |
|
73 | 73 |
for(int i=0; i<mNumEffects; i++) |
74 | 74 |
{ |
75 |
mCurrentDuration[i] += step; |
|
76 |
|
|
77 |
if( mEffects[i].compute(mUniforms, NUM_UNIFORMS*i, mCurrentDuration[i], step) ) |
|
75 |
if( mEffects[i].compute(mUniforms, NUM_UNIFORMS*i, currTime, step) ) |
|
78 | 76 |
{ |
79 | 77 |
EffectMessageSender.newMessage(mEffects[i]); |
80 | 78 |
} |
Also available in: Unified diff
Fixes for pausing and restarting.