Project

General

Profile

« Previous | Next » 

Revision 1f9a52f1

Added by Leszek Koltunski about 7 years ago

Simplify setting up DistortedScreen.

View differences:

src/main/java/org/distorted/examples/wind/WindRenderer.java
61 61
      mEffects = new DistortedEffects();
62 62
      mTexture = new DistortedTexture(50,30);
63 63
      mManager = new WindEffectsManager(mTexture);
64
      mScreen  = new DistortedScreen();
64
      mScreen  = new DistortedScreen(mView);
65 65

  
66 66
      mScreen.attach(mTexture,mEffects,new MeshCubes(50,30,false));
67 67

  

Also available in: Unified diff