Revision 7451c98a
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/sink/SinkRenderer.java | ||
---|---|---|
131 | 131 |
bmpWidth = bitmap.getWidth(); |
132 | 132 |
|
133 | 133 |
mGrid = new GridFlat(30,30*bmpHeight/bmpWidth); |
134 |
mTexture = new DistortedTexture(bmpWidth,bmpHeight,0);
|
|
134 |
mTexture = new DistortedTexture(bmpWidth,bmpHeight); |
|
135 | 135 |
mTexture.setTexture(bitmap); |
136 | 136 |
|
137 | 137 |
try |
Also available in: Unified diff
Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.