Project

General

Profile

« Previous | Next » 

Revision 7451c98a

Added by Leszek Koltunski over 7 years ago

Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.

View differences:

src/main/java/org/distorted/examples/deform/DeformRenderer.java
239 239
     {
240 240
     Canvas stretchCanvas;
241 241
      
242
     stretchTexture = new DistortedTexture(w,h,0);
242
     stretchTexture = new DistortedTexture(w,h);
243 243
     stretchGrid    = new GridFlat(50,50*h/w);
244 244
     Bitmap stretchBitmap = Bitmap.createBitmap(w,h, Bitmap.Config.ARGB_8888);
245 245
     stretchCanvas = new Canvas(stretchBitmap);
......
261 261
        
262 262
     touchPoint= new Static3D(0,0,0);
263 263
        
264
     fpsTexture = new DistortedTexture( fpsW, fpsH, 0);
264
     fpsTexture = new DistortedTexture(fpsW,fpsH);
265 265
     fpsGrid = new GridFlat(1,1);
266 266

  
267 267
     fpsBitmap = Bitmap.createBitmap(fpsW,fpsH, Bitmap.Config.ARGB_8888);

Also available in: Unified diff