Revision f3ca895f
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/examples/glow/GlowRenderer.java | ||
---|---|---|
32 | 32 |
import org.distorted.library.main.DistortedEffects; |
33 | 33 |
import org.distorted.library.main.DistortedScreen; |
34 | 34 |
import org.distorted.library.main.DistortedTexture; |
35 |
import org.distorted.library.mesh.MeshFlat;
|
|
35 |
import org.distorted.library.mesh.MeshRectangles;
|
|
36 | 36 |
import org.distorted.library.type.Static1D; |
37 | 37 |
import org.distorted.library.type.Static3D; |
38 | 38 |
import org.distorted.library.type.Static4D; |
... | ... | |
80 | 80 |
effects.apply(mGlow); |
81 | 81 |
|
82 | 82 |
mScreen = new DistortedScreen(); |
83 |
mScreen.attach(mLeaf, effects, new MeshFlat(1,1) );
|
|
83 |
mScreen.attach(mLeaf, effects, new MeshRectangles(1,1) );
|
|
84 | 84 |
mScreen.glClearColor(1.0f, 1.0f, 1.0f, 1.0f); |
85 | 85 |
mScreen.showFPS(); |
86 | 86 |
} |
Also available in: Unified diff
Rename MeshFlat MeshRectangles.