Revision 7451c98a
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.java | ||
---|---|---|
126 | 126 |
mObjWidth = bitmap.getWidth(); |
127 | 127 |
mObjHeight= bitmap.getHeight(); |
128 | 128 |
|
129 |
mTexture = new DistortedTexture(mObjWidth,mObjHeight,0);
|
|
129 |
mTexture = new DistortedTexture(mObjWidth,mObjHeight); |
|
130 | 130 |
mTexture.setTexture(bitmap); |
131 | 131 |
|
132 | 132 |
mGrid = new GridFlat(30,30*mObjHeight/mObjWidth); |
Also available in: Unified diff
Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.