Project

General

Profile

« Previous | Next » 

Revision 10b7e588

Added by Leszek Koltunski over 7 years ago

Rename various classes; fix a bug in Around the World.

View differences:

src/main/java/org/distorted/examples/monalisa/MonaLisaRenderer.java
28 28
import org.distorted.examples.R;
29 29
import org.distorted.library.Distorted;
30 30
import org.distorted.library.DistortedObject;
31
import org.distorted.library.DistortedBitmapGrid;
31
import org.distorted.library.GridFlat;
32 32
import org.distorted.library.EffectTypes;
33 33
import org.distorted.library.type.Dynamic3D;
34 34
import org.distorted.library.type.Static3D;
......
45 45
{
46 46
    private GLSurfaceView mView;
47 47
    private DistortedObject mObject;
48
    private DistortedBitmapGrid mGrid;
48
    private GridFlat mGrid;
49 49
    private Static3D pLeft, pRight;
50 50
    private Static4D rLeft, rRight;
51 51
    private Dynamic3D dLeft, dRight;
......
128 128
      bmpHeight = bitmap.getHeight();
129 129
      bmpWidth  = bitmap.getWidth();
130 130

  
131
      mGrid = new DistortedBitmapGrid(9,9*bmpHeight/bmpWidth);
131
      mGrid = new GridFlat(9,9*bmpHeight/bmpWidth);
132 132
      mObject = new DistortedObject(bmpWidth,bmpHeight,1);
133 133
      mObject.setTexture(bitmap);
134 134
      mObject.distort( dLeft, pLeft , rLeft );

Also available in: Unified diff