Revision f3ca895f
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/examples/movingglow/MovingGlowRenderer.java | ||
---|---|---|
35 | 35 |
import org.distorted.library.main.DistortedScreen; |
36 | 36 |
import org.distorted.library.main.DistortedTexture; |
37 | 37 |
import org.distorted.library.mesh.MeshBase; |
38 |
import org.distorted.library.mesh.MeshFlat;
|
|
38 |
import org.distorted.library.mesh.MeshRectangles;
|
|
39 | 39 |
import org.distorted.library.message.EffectListener; |
40 | 40 |
import org.distorted.library.type.Dynamic1D; |
41 | 41 |
import org.distorted.library.type.Dynamic4D; |
... | ... | |
78 | 78 |
|
79 | 79 |
mLeaf = new DistortedTexture(LEAF_SIZE,LEAF_SIZE); |
80 | 80 |
DistortedTexture surface = new DistortedTexture(mRootW,mRootH); |
81 |
MeshBase mesh = new MeshFlat(1,1);
|
|
81 |
MeshBase mesh = new MeshRectangles(1,1);
|
|
82 | 82 |
|
83 | 83 |
DistortedNode root = new DistortedNode(surface, new DistortedEffects(), mesh); |
84 | 84 |
|
Also available in: Unified diff
Rename MeshFlat MeshRectangles.