Project

General

Profile

« Previous | Next » 

Revision f2085b96

Added by Leszek Koltunski over 3 years ago

Rename Meshes.

View differences:

src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.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.MeshRectangles;
39
import org.distorted.library.mesh.MeshSquare;
40 40
import org.distorted.library.main.DistortedTexture;
41 41
import org.distorted.library.type.Static3D;
42 42

  
......
54 54
   private DistortedEffects mEffects;
55 55
   private DistortedTexture mTexture;
56 56
   private DistortedScreen mScreen;
57
   private MeshRectangles mMesh;
57
   private MeshSquare mMesh;
58 58
   private AroundTheWorldEffectsManager mManager;
59 59
   private Static3D mScaleMatrix, mScaleVertex;
60 60

  
......
130 130
      if( mTexture==null ) mTexture = new DistortedTexture();
131 131
      mTexture.setTexture(bitmap);
132 132

  
133
      if( mMesh==null ) mMesh = new MeshRectangles(30,30*objHeight/objWidth);
133
      if( mMesh==null ) mMesh = new MeshSquare(30,30*objHeight/objWidth);
134 134

  
135 135
      mScreen.detachAll();
136 136
      mScreen.attach(mTexture, mEffects, mMesh);

Also available in: Unified diff