Project

General

Profile

« Previous | Next » 

Revision 885b9cca

Added by Leszek Koltunski almost 7 years ago

Move all the knowledge about Vertex and Fragment effects to their respective classes.

View differences:

src/main/java/org/distorted/examples/check/CheckRenderer.java
80 80

  
81 81
      DistortedEffects.setMax(EffectType.VERTEX  ,act.getMaxV());
82 82
      DistortedEffects.setMax(EffectType.FRAGMENT,act.getMaxF());
83
      DistortedEffects.enableEffect(EffectName.SWIRL);
84
      DistortedEffects.enableEffect(EffectName.DEFORM);
85
      DistortedEffects.enableEffect(EffectName.CHROMA);
83
      VertexEffectSwirl.enable();
84
      VertexEffectDeform.enable();
85
      FragmentEffectChroma.enable();
86 86

  
87 87
      mSwirl1 = new Static3D(0,0,0);
88 88
      mSwirl2 = new Static3D(0,0,0);

Also available in: Unified diff