Revision 10b7e588
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java | ||
---|---|---|
28 | 28 |
import org.distorted.examples.R; |
29 | 29 |
|
30 | 30 |
import org.distorted.library.Distorted; |
31 |
import org.distorted.library.DistortedBitmapGrid;
|
|
31 |
import org.distorted.library.GridFlat;
|
|
32 | 32 |
import org.distorted.library.DistortedObject; |
33 | 33 |
import org.distorted.library.EffectTypes; |
34 | 34 |
import org.distorted.library.type.Dynamic1D; |
... | ... | |
50 | 50 |
|
51 | 51 |
private GLSurfaceView mView; |
52 | 52 |
private DistortedObject[] mObj; |
53 |
private DistortedBitmapGrid mGrid;
|
|
53 |
private GridFlat mGrid;
|
|
54 | 54 |
private Static3D pLeft, pRight, pNose1; |
55 | 55 |
private Static4D RegionEye; |
56 | 56 |
private Dynamic3D mDI; |
... | ... | |
148 | 148 |
bmpHeight = bitmap.getHeight(); |
149 | 149 |
bmpWidth = bitmap.getWidth(); |
150 | 150 |
|
151 |
mGrid = new DistortedBitmapGrid(30,30*bmpHeight/bmpWidth);
|
|
151 |
mGrid = new GridFlat(30,30*bmpHeight/bmpWidth);
|
|
152 | 152 |
|
153 | 153 |
mObj = new DistortedObject[NUM]; |
154 | 154 |
mObj[0] = new DistortedObject(bmpWidth, bmpHeight, 1); |
Also available in: Unified diff
Rename various classes; fix a bug in Around the World.