Revision 7451c98a
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/catanddog/CatAndDogRenderer.java | ||
---|---|---|
110 | 110 |
bmpHeight = bitmap.getHeight(); |
111 | 111 |
bmpWidth = bitmap.getWidth(); |
112 | 112 |
|
113 |
mTexture = new DistortedTexture(bmpWidth,bmpHeight,0);
|
|
113 |
mTexture = new DistortedTexture(bmpWidth,bmpHeight); |
|
114 | 114 |
mTexture.setTexture(bitmap); |
115 | 115 |
|
116 | 116 |
try |
Also available in: Unified diff
Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.