Revision 10b7e588
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/differentbitmaps/DifferentBitmapsRenderer.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; |
... | ... | |
49 | 49 |
|
50 | 50 |
private GLSurfaceView mView; |
51 | 51 |
private DistortedObject[] mObj; |
52 |
private DistortedBitmapGrid mGrid;
|
|
52 |
private GridFlat mGrid;
|
|
53 | 53 |
private Static3D mPoint; |
54 | 54 |
private Dynamic3D dDistort; |
55 | 55 |
private int bmpHeight, bmpWidth; |
... | ... | |
163 | 163 |
mObj[0].sink( new Static1D(8), mPoint, new Static4D(0,0,80,80)); |
164 | 164 |
mObj[0].distort(dDistort,mPoint); |
165 | 165 |
|
166 |
mGrid = new DistortedBitmapGrid(30,30*bmpHeight/bmpWidth);
|
|
166 |
mGrid = new GridFlat(30,30*bmpHeight/bmpWidth);
|
|
167 | 167 |
|
168 | 168 |
try |
169 | 169 |
{ |
Also available in: Unified diff
Rename various classes; fix a bug in Around the World.