Revision b01acdaf
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/fbo/FBORenderer.java | ||
---|---|---|
31 | 31 |
import org.distorted.library.DistortedFramebuffer; |
32 | 32 |
import org.distorted.library.DistortedTree; |
33 | 33 |
import org.distorted.library.Distorted; |
34 |
import org.distorted.library.GridCubes;
|
|
35 |
import org.distorted.library.GridFlat;
|
|
34 |
import org.distorted.library.MeshCubes;
|
|
35 |
import org.distorted.library.MeshFlat;
|
|
36 | 36 |
import org.distorted.library.DistortedTexture; |
37 | 37 |
import org.distorted.library.EffectTypes; |
38 | 38 |
import org.distorted.library.type.Dynamic; |
... | ... | |
137 | 137 |
|
138 | 138 |
mEffects.abortAllEffects(); |
139 | 139 |
|
140 |
mRoot = new DistortedTree(lisa, mEffects,new GridFlat(1,1));
|
|
141 |
mRoot.attach(text,textEffects,new GridCubes(20,5,false));
|
|
140 |
mRoot = new DistortedTree(lisa, mEffects,new MeshFlat(1,1));
|
|
141 |
mRoot.attach(text,textEffects,new MeshCubes(20,5,false));
|
|
142 | 142 |
|
143 | 143 |
float factor = lisaWidth/(2.0f*textWidth); |
144 | 144 |
|
Also available in: Unified diff
Rename Grid to Mesh