Project

General

Profile

« Previous | Next » 

Revision d07f2950

Added by Leszek Koltunski almost 8 years ago

Improve aborting Effects.

View differences:

src/main/java/org/distorted/library/EffectTypes.java
22 22
    }
23 23

  
24 24
///////////////////////////////////////////////////////////////////////////////////////////////////
25
// called from EffectList
25
// called from EffectQueue
26 26

  
27 27
  static void reset(int[] maxtable)
28 28
    {
29 29
    maxtable[0] = 5;  // By default, there can be a maximum 5 MATRIX effects acting on a single
30 30
                      // DistortedObject at any given time. This can be changed with a call to
31
                      // EffectListMatrix.setMax(int)
31
                      // EffectQueueMatrix.setMax(int)
32 32

  
33 33
    maxtable[1] = 5;  // Max 5 VERTEX Effects
34 34
    maxtable[2] = 5;  // Max 5 FRAGMENT Effects

Also available in: Unified diff