Revision f2085b96
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/examples/effectqueue/EffectQueueRenderer.java | ||
---|---|---|
37 | 37 |
import org.distorted.library.main.DistortedEffects; |
38 | 38 |
import org.distorted.library.main.DistortedLibrary; |
39 | 39 |
import org.distorted.library.main.DistortedScreen; |
40 |
import org.distorted.library.mesh.MeshRectangles;
|
|
40 |
import org.distorted.library.mesh.MeshSquare;
|
|
41 | 41 |
import org.distorted.library.main.DistortedTexture; |
42 | 42 |
import org.distorted.library.message.EffectListener; |
43 | 43 |
import org.distorted.library.type.Static3D; |
... | ... | |
57 | 57 |
private Static3D mScale; |
58 | 58 |
|
59 | 59 |
private DistortedTexture mTexture; |
60 |
private MeshRectangles mMesh;
|
|
60 |
private MeshSquare mMesh;
|
|
61 | 61 |
private DistortedEffects mEffects; |
62 | 62 |
private DistortedScreen mScreen; |
63 | 63 |
|
... | ... | |
77 | 77 |
mScale = new Static3D(1,1,1); |
78 | 78 |
MatrixEffectScale scaleEffect = new MatrixEffectScale(mScale); |
79 | 79 |
|
80 |
mMesh = new MeshRectangles(MESH_QUALITY,MESH_QUALITY*texHeight/texWidth);
|
|
80 |
mMesh = new MeshSquare(MESH_QUALITY,MESH_QUALITY*texHeight/texWidth);
|
|
81 | 81 |
|
82 | 82 |
mTexture = new DistortedTexture(); |
83 | 83 |
mEffects = new DistortedEffects(); |
Also available in: Unified diff
Rename Meshes.