Revision 10b7e588
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/check/CheckRenderer.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import org.distorted.library.Distorted; |
31 | 31 |
import org.distorted.library.DistortedObject; |
32 |
import org.distorted.library.DistortedBitmapGrid;
|
|
32 |
import org.distorted.library.GridFlat;
|
|
33 | 33 |
import org.distorted.library.EffectTypes; |
34 | 34 |
import org.distorted.library.type.Dynamic3D; |
35 | 35 |
import org.distorted.library.type.Static1D; |
... | ... | |
55 | 55 |
|
56 | 56 |
private GLSurfaceView mView; |
57 | 57 |
private DistortedObject mSuccess; |
58 |
private DistortedBitmapGrid mGrid;
|
|
58 |
private GridFlat mGrid;
|
|
59 | 59 |
private int bmpHeight, bmpWidth; |
60 | 60 |
|
61 | 61 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
131 | 131 |
|
132 | 132 |
mSuccess = new DistortedObject(bmpWidth,bmpHeight,1); |
133 | 133 |
mSuccess.setTexture(bitmap); |
134 |
mGrid = new DistortedBitmapGrid(30,30*bmpHeight/bmpWidth);
|
|
134 |
mGrid = new GridFlat(30,30*bmpHeight/bmpWidth);
|
|
135 | 135 |
|
136 | 136 |
// Try adding 2 Vertex Effects to the Bitmap. |
137 | 137 |
// This will fail if we have set maxVertexEffects to something < 2. |
Also available in: Unified diff
Rename various classes; fix a bug in Around the World.