Revision f3ca895f
Added by Leszek Koltunski about 4 years ago
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.MeshFlat;
|
|
35 |
import org.distorted.library.mesh.MeshRectangles;
|
|
36 | 36 |
|
37 | 37 |
import org.distorted.library.message.EffectListener; |
38 | 38 |
import org.distorted.library.type.Dynamic3D; |
... | ... | |
193 | 193 |
|
194 | 194 |
if( mMesh!=null ) mMesh.markForDeletion(); |
195 | 195 |
|
196 |
mMesh = new MeshFlat(50,50*h/w);
|
|
196 |
mMesh = new MeshRectangles(50,50*h/w);
|
|
197 | 197 |
Bitmap stretchBitmap = Bitmap.createBitmap(w,h, Bitmap.Config.ARGB_8888); |
198 | 198 |
stretchCanvas = new Canvas(stretchBitmap); |
199 | 199 |
|
Also available in: Unified diff
Rename MeshFlat MeshRectangles.