Project

General

Profile

« Previous | Next » 

Revision 58e9e190

Added by Leszek Koltunski almost 7 years ago

Change of API in anticipation for MeshCubes of any depth (currently only 0 and 1 work)

View differences:

src/main/java/org/distorted/examples/wind/WindRenderer.java
21 21

  
22 22
import android.graphics.Bitmap;
23 23
import android.graphics.BitmapFactory;
24
import android.opengl.GLES30;
25 24
import android.opengl.GLSurfaceView;
26 25

  
27 26
import org.distorted.examples.R;
......
63 62
      mManager = new WindEffectsManager(mTexture);
64 63
      mScreen  = new DistortedScreen(mView);
65 64

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

  
68 67
      mObjWidth = mTexture.getWidth();
69 68
      mObjHeight= mTexture.getHeight();

Also available in: Unified diff