Project

General

Profile

« Previous | Next » 

Revision f3ca895f

Added by Leszek Koltunski about 4 years ago

Rename MeshFlat MeshRectangles.

View differences:

src/main/java/org/distorted/examples/plainmonalisa/RenderThread.java
36 36
import org.distorted.library.main.DistortedLibrary;
37 37
import org.distorted.library.main.DistortedEffects;
38 38
import org.distorted.library.main.DistortedScreen;
39
import org.distorted.library.mesh.MeshFlat;
39
import org.distorted.library.mesh.MeshRectangles;
40 40
import org.distorted.library.main.DistortedTexture;
41 41
import org.distorted.library.type.Dynamic3D;
42 42
import org.distorted.library.type.Static3D;
......
66 66

  
67 67
  private DistortedEffects mEffects;
68 68
  private DistortedTexture mTexture;
69
  private MeshFlat mMesh;
69
  private MeshRectangles mMesh;
70 70
  private DistortedScreen mScreen;
71 71
  private int bmpHeight, bmpWidth;
72 72
  private SurfaceView mView;
......
265 265
    if( mTexture==null ) mTexture = new DistortedTexture(bmpWidth,bmpHeight);
266 266
    mTexture.setTexture(bmp);
267 267

  
268
    if( mMesh==null ) mMesh = new MeshFlat(9,9*bmpHeight/bmpWidth);
268
    if( mMesh==null ) mMesh = new MeshRectangles(9,9*bmpHeight/bmpWidth);
269 269

  
270 270
    mScreen.detachAll();
271 271
    mScreen.attach(mTexture,mEffects,mMesh);

Also available in: Unified diff