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/deform/DeformRenderer.java
32 32
import org.distorted.library.main.DistortedScreen;
33 33
import org.distorted.library.main.DistortedTexture;
34 34
import org.distorted.library.mesh.MeshBase;
35
import org.distorted.library.mesh.MeshRectangles;
35
import org.distorted.library.mesh.MeshSquare;
36 36

  
37 37
import org.distorted.library.message.EffectListener;
38 38
import org.distorted.library.type.Dynamic3D;
......
198 198
     textureHeight= (int)(0.6f*height);
199 199

  
200 200
     if( mMesh!=null ) mMesh.markForDeletion();
201
     mMesh = new MeshRectangles(50,50*textureHeight/textureWidth);
201
     mMesh = new MeshSquare(50,50*textureHeight/textureWidth);
202 202

  
203 203
     mScale.set(textureWidth,textureHeight,1);
204 204

  

Also available in: Unified diff