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/movingeffects/MovingEffectsRenderer.java
116 116
     texH = height;
117 117

  
118 118
     mGrid    = new GridFlat(80,80*texH/texW);
119
     mTexture = new DistortedTexture(texW,texH,0);
119
     mTexture = new DistortedTexture(texW,texH);
120 120
     mBitmap  = Bitmap.createBitmap(texW,texH, Bitmap.Config.ARGB_8888);
121 121
     mCanvas  = new Canvas(mBitmap);
122 122

  

Also available in: Unified diff