Revision 10b7e588
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/save/SaveRenderer.java | ||
---|---|---|
32 | 32 |
|
33 | 33 |
import org.distorted.library.Distorted; |
34 | 34 |
import org.distorted.library.DistortedObject; |
35 |
import org.distorted.library.DistortedBitmapGrid;
|
|
35 |
import org.distorted.library.GridFlat;
|
|
36 | 36 |
import org.distorted.library.DistortedFramebuffer; |
37 | 37 |
import org.distorted.library.EffectTypes; |
38 | 38 |
import org.distorted.library.type.Dynamic1D; |
... | ... | |
53 | 53 |
{ |
54 | 54 |
private GLSurfaceView mView; |
55 | 55 |
private DistortedObject mGirl; |
56 |
private DistortedBitmapGrid mGrid;
|
|
56 |
private GridFlat mGrid;
|
|
57 | 57 |
private DistortedFramebuffer mOffscreen; |
58 | 58 |
private Static3D pLeft, pRight; |
59 | 59 |
private Static4D sinkRegion; |
... | ... | |
228 | 228 |
bmpHeight = bitmap.getHeight(); |
229 | 229 |
bmpWidth = bitmap.getWidth(); |
230 | 230 |
|
231 |
mGrid = new DistortedBitmapGrid(30,30*bmpHeight/bmpWidth);
|
|
231 |
mGrid = new GridFlat(30,30*bmpHeight/bmpWidth);
|
|
232 | 232 |
mGirl = new DistortedObject(bmpWidth,bmpHeight,1); |
233 | 233 |
mGirl.setTexture(bitmap); |
234 | 234 |
|
Also available in: Unified diff
Rename various classes; fix a bug in Around the World.