Project

General

Profile

« Previous | Next » 

Revision 142c7236

Added by Leszek Koltunski about 5 years ago

Many things.

1) make the Dynamic.setDuration() able to be called AFTER the Dynamic has already been run. (and rename it to 'makeRunNowFor()' )
2) remove the automatic removal of zero Effects from EffectQueues.
3) adjust several Apps to cope with 2)
4) add post-rotation to Rubik (still not finished)

View differences:

src/main/java/org/distorted/library/main/EffectQueueMatrix.java
130 130
        {
131 131
        for(int j=0; j<mNumListeners; j++)
132 132
          EffectMessageSender.newMessage( mListeners.get(j), EffectMessage.EFFECT_FINISHED, mEffects[i].getID(), mDistortedEffectsID);
133

  
134
        if( mEffects[i].isUnity( mUniforms, NUM_UNIFORMS*i) )
135
          {
136
          remove(i--);
137
          mNumEffectsToBe--;
138
          }
139 133
        }
140 134
      }
141 135
     

Also available in: Unified diff