Revision 7451c98a
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/girl/GirlRenderer.java | ||
---|---|---|
205 | 205 |
bmpWidth = bitmap.getWidth(); |
206 | 206 |
|
207 | 207 |
mGrid = new GridFlat(30,30*bmpHeight/bmpWidth); |
208 |
mTexture = new DistortedTexture(bmpWidth,bmpHeight,0);
|
|
208 |
mTexture = new DistortedTexture(bmpWidth,bmpHeight); |
|
209 | 209 |
mTexture.setTexture(bitmap); |
210 | 210 |
|
211 | 211 |
try |
Also available in: Unified diff
Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.