Revision a0397f32
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/library/main/EffectQueuePostprocess.java | ||
---|---|---|
170 | 170 |
|
171 | 171 |
mesh.bindVertexAttribs(mPreProgram); |
172 | 172 |
|
173 |
DistortedEffects effects = node.getEffects();
|
|
174 |
EffectQueueMatrix matrix = effects.getMatrix();
|
|
175 |
EffectQueueVertex vertex = effects.getVertex();
|
|
173 |
EffectQueue[] queues = node.getEffects().getQueues();
|
|
174 |
EffectQueueMatrix matrix = (EffectQueueMatrix)queues[0];
|
|
175 |
EffectQueueVertex vertex = (EffectQueueVertex)queues[1];
|
|
176 | 176 |
|
177 | 177 |
float inflate=0.0f; |
178 | 178 |
|
Also available in: Unified diff
Make DistortedEffects oblivious of the effect types.