Revision 10b7e588
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/bean/BeanRenderer.java | ||
---|---|---|
30 | 30 |
import org.distorted.library.EffectTypes; |
31 | 31 |
import org.distorted.library.Distorted; |
32 | 32 |
import org.distorted.library.DistortedObject; |
33 |
import org.distorted.library.DistortedBitmapGrid;
|
|
33 |
import org.distorted.library.GridFlat;
|
|
34 | 34 |
import org.distorted.library.type.Dynamic3D; |
35 | 35 |
import org.distorted.library.type.Static3D; |
36 | 36 |
import org.distorted.library.type.Static4D; |
... | ... | |
46 | 46 |
{ |
47 | 47 |
private GLSurfaceView mView; |
48 | 48 |
private DistortedObject mBean; |
49 |
private DistortedBitmapGrid mGrid;
|
|
49 |
private GridFlat mGrid;
|
|
50 | 50 |
private Static3D pLeft, pRight; |
51 | 51 |
private Dynamic3D dLeft, dRight; |
52 | 52 |
private Static4D rLeft, rRight; |
... | ... | |
149 | 149 |
mBean.distort(dLeft , pLeft , rLeft ); |
150 | 150 |
mBean.distort(dRight, pRight, rRight); |
151 | 151 |
|
152 |
mGrid = new DistortedBitmapGrid(25,25*bmpHeight/bmpWidth);
|
|
152 |
mGrid = new GridFlat(25,25*bmpHeight/bmpWidth);
|
|
153 | 153 |
|
154 | 154 |
try |
155 | 155 |
{ |
Also available in: Unified diff
Rename various classes; fix a bug in Around the World.