Revision 10b7e588
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/girl/GirlRenderer.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; |
... | ... | |
48 | 48 |
{ |
49 | 49 |
private GLSurfaceView mView; |
50 | 50 |
private DistortedObject mGirl; |
51 |
private DistortedBitmapGrid mGrid;
|
|
51 |
private GridFlat mGrid;
|
|
52 | 52 |
private Static3D pLeft, pRight, pHips; |
53 | 53 |
private Static4D Region, sinkRegion, HipsRegion; |
54 | 54 |
private Dynamic3D diL, diR; |
... | ... | |
207 | 207 |
bmpHeight = bitmap.getHeight(); |
208 | 208 |
bmpWidth = bitmap.getWidth(); |
209 | 209 |
|
210 |
mGrid = new DistortedBitmapGrid(30,30*bmpHeight/bmpWidth);
|
|
210 |
mGrid = new GridFlat(30,30*bmpHeight/bmpWidth);
|
|
211 | 211 |
mGirl = new DistortedObject(bmpWidth,bmpHeight,1); |
212 | 212 |
mGirl.setTexture(bitmap); |
213 | 213 |
|
Also available in: Unified diff
Rename various classes; fix a bug in Around the World.