Project

General

Profile

« Previous | Next » 

Revision 10b7e588

Added by Leszek Koltunski over 7 years ago

Rename various classes; fix a bug in Around the World.

View differences:

src/main/java/org/distorted/examples/movingeffects/MovingEffectsRenderer.java
30 30
import android.opengl.GLSurfaceView;
31 31

  
32 32
import org.distorted.library.DistortedObject;
33
import org.distorted.library.DistortedBitmapGrid;
33
import org.distorted.library.GridFlat;
34 34
import org.distorted.library.Distorted;
35 35

  
36 36
///////////////////////////////////////////////////////////////////////////////////////////////////
......
43 43
   private Paint mPaint;
44 44
   private int texW, texH;
45 45

  
46
   private DistortedBitmapGrid mGrid;
46
   private GridFlat mGrid;
47 47

  
48 48
   static DistortedObject mBackground;
49 49

  
......
105 105
     texW = width;
106 106
     texH = height;
107 107

  
108
     mGrid = new DistortedBitmapGrid(80,80*height/width);
108
     mGrid = new GridFlat(80,80*height/width);
109 109
     mBackground = new DistortedObject(texW,texH,1);
110 110
     mBitmap = Bitmap.createBitmap(texW,texH, Bitmap.Config.ARGB_8888);
111 111
     mCanvas = new Canvas(mBitmap);

Also available in: Unified diff