Revision d04a4886
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java | ||
---|---|---|
28 | 28 |
import org.distorted.examples.R; |
29 | 29 |
|
30 | 30 |
import org.distorted.library.Distorted; |
31 |
import org.distorted.library.DistortedEffects; |
|
31 | 32 |
import org.distorted.library.DistortedFramebuffer; |
32 | 33 |
import org.distorted.library.GridFlat; |
33 | 34 |
import org.distorted.library.DistortedTexture; |
34 |
import org.distorted.library.DistortedEffectQueues; |
|
35 | 35 |
import org.distorted.library.EffectTypes; |
36 | 36 |
import org.distorted.library.type.Dynamic1D; |
37 | 37 |
import org.distorted.library.type.Dynamic3D; |
... | ... | |
51 | 51 |
private static final int NUM = 3; |
52 | 52 |
|
53 | 53 |
private GLSurfaceView mView; |
54 |
private DistortedEffectQueues[] mEffects;
|
|
54 |
private DistortedEffects[] mEffects; |
|
55 | 55 |
private DistortedTexture mTexture; |
56 | 56 |
private GridFlat mGrid; |
57 | 57 |
private DistortedFramebuffer mScreen; |
... | ... | |
76 | 76 |
|
77 | 77 |
// we don't need to prepare anything for mEffects[2] effects |
78 | 78 |
|
79 |
mEffects = new DistortedEffectQueues[NUM];
|
|
79 |
mEffects = new DistortedEffects[NUM]; |
|
80 | 80 |
|
81 |
for(int i=0; i<NUM; i++) mEffects[i] = new DistortedEffectQueues();
|
|
81 |
for(int i=0; i<NUM; i++) mEffects[i] = new DistortedEffects(); |
|
82 | 82 |
|
83 | 83 |
Dynamic1D sink = new Dynamic1D(2000,0.0f); |
84 | 84 |
sink.add(new Static1D( 1)); |
Also available in: Unified diff
Change of names.