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/girl/GirlRenderer.java
219 219
     mScreen.detachAll();
220 220
     mScreen.attach(mTexture,mEffects,mMesh);
221 221

  
222
     DistortedEffects.enableEffect(EffectName.DISTORT);
223
     DistortedEffects.enableEffect(EffectName.SINK);
224
     DistortedEffects.enableEffect(EffectName.SWIRL);
222
     VertexEffectDistort.enable();
223
     VertexEffectSink.enable();
224
     VertexEffectSwirl.enable();
225 225

  
226 226
     try
227 227
       {

Also available in: Unified diff