Revision f3ca895f
Added by Leszek Koltunski about 4 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.MeshFlat;
|
|
40 |
import org.distorted.library.mesh.MeshRectangles;
|
|
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 MeshFlat mMesh;
|
|
60 |
private MeshRectangles 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 MeshFlat(MESH_QUALITY,MESH_QUALITY*texHeight/texWidth);
|
|
80 |
mMesh = new MeshRectangles(MESH_QUALITY,MESH_QUALITY*texHeight/texWidth);
|
|
81 | 81 |
mTexture = new DistortedTexture(texWidth,texHeight); |
82 | 82 |
mEffects = new DistortedEffects(); |
83 | 83 |
mEffects.apply(scaleEffect); |
Also available in: Unified diff
Rename MeshFlat MeshRectangles.