Project

General

Profile

« Previous | Next » 

Revision d76638f1

Added by Leszek Koltunski almost 7 years ago

Small API simplification.

View differences:

src/main/java/org/distorted/examples/listener/ListenerRenderer.java
29 29
import org.distorted.examples.R;
30 30

  
31 31
import org.distorted.library.effect.EffectName;
32
import org.distorted.library.effect.EffectType;
32 33
import org.distorted.library.effect.MatrixEffectMove;
33 34
import org.distorted.library.effect.MatrixEffectScale;
34 35
import org.distorted.library.effect.VertexEffectDistort;
......
66 67

  
67 68
   ListenerRenderer(GLSurfaceView v)
68 69
      {
69
      DistortedEffects.setMaxVertex(NUM_BUBBLES);
70
      DistortedEffects.setMax(EffectType.VERTEX,NUM_BUBBLES);
70 71
      mView = v;
71 72
      mEffects = new DistortedEffects();
72 73
      mEffects.registerForMessages(this);

Also available in: Unified diff