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/catanddog/CatAndDogRenderer.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.Dynamic1D;
34 34
import org.distorted.library.type.Dynamic3D;
......
47 47
{
48 48
    private GLSurfaceView mView;
49 49
    private DistortedObject mObject;
50
    private DistortedBitmapGrid mGrid;
50
    private GridFlat mGrid;
51 51
    private Static4D chromaRegion, alphaRegion;
52 52
    private int bmpHeight, bmpWidth;
53 53

  
......
94 94
      bmpHeight = bitmap.getHeight();
95 95
      bmpWidth  = bitmap.getWidth();
96 96

  
97
      mGrid = new DistortedBitmapGrid(1,1);  // no vertex effects, grid can be a (1x1) quad.
97
      mGrid = new GridFlat(1,1);  // no vertex effects, grid can be a (1x1) quad.
98 98

  
99 99
      mObject = new DistortedObject(bmpWidth,bmpHeight,1);
100 100
      mObject.setTexture(bitmap);

Also available in: Unified diff