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/deform/DeformRenderer.java
24 24

  
25 25
import org.distorted.library.Distorted;
26 26
import org.distorted.library.DistortedObject;
27
import org.distorted.library.DistortedObjectGrid;
28
import org.distorted.library.DistortedBitmapGrid;
27
import org.distorted.library.GridObject;
28
import org.distorted.library.GridFlat;
29 29

  
30 30
import org.distorted.library.EffectNames;
31 31
import org.distorted.library.EffectTypes;
......
50 50

  
51 51
   private GLSurfaceView mView;
52 52
   private DistortedObject fps, stretch;
53
   private DistortedObjectGrid fpsGrid, stretchGrid;
53
   private GridObject fpsGrid, stretchGrid;
54 54
   private Static3D touchPoint;
55 55

  
56 56
   private Dynamic3D mReleasedDistortDynamic;
......
235 235
      
236 236
      mPaint = new Paint();
237 237
      stretch = new DistortedObject(w,h,1);
238
      stretchGrid = new DistortedBitmapGrid(50,50*h/w);
238
      stretchGrid = new GridFlat(50,50*h/w);
239 239
      Bitmap stretchBitmap = Bitmap.createBitmap(w,h, Bitmap.Config.ARGB_8888);
240 240
      stretchCanvas = new Canvas(stretchBitmap);
241 241
      
......
259 259
      touchPoint= new Static3D(0,0,0);
260 260
        
261 261
      fps = new DistortedObject( fpsW, fpsH, 1);
262
      fpsGrid = new DistortedBitmapGrid(1,1);
262
      fpsGrid = new GridFlat(1,1);
263 263

  
264 264
      fpsBitmap = Bitmap.createBitmap(fpsW,fpsH, Bitmap.Config.ARGB_8888);
265 265
      fpsCanvas = new Canvas(fpsBitmap);

Also available in: Unified diff