Revision 95593730
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java | ||
---|---|---|
11 | 11 |
|
12 | 12 |
import org.distorted.library.Distorted; |
13 | 13 |
import org.distorted.library.DistortedBitmap; |
14 |
import org.distorted.library.EffectTypes; |
|
14 | 15 |
import org.distorted.library.Float2D; |
15 | 16 |
import org.distorted.library.Float3D; |
16 | 17 |
import org.distorted.library.Float4D; |
... | ... | |
78 | 79 |
{ |
79 | 80 |
for(int i=NUM-1; i>=0; i--) |
80 | 81 |
{ |
81 |
bmp[i].abortAllEffects(Distorted.TYPE_PRE);
|
|
82 |
bmp[i].abortAllEffects(EffectTypes.MATRIX.type);
|
|
82 | 83 |
} |
83 | 84 |
|
84 | 85 |
if( bmpHeight/(NUM*bmpWidth) > height/width ) |
Also available in: Unified diff
Introduce ENUM EffectTypes