Revision 95593730
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/check/CheckRenderer.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 |
|
... | ... | |
60 | 61 |
|
61 | 62 |
public void onSurfaceChanged(GL10 glUnused, int width, int height) |
62 | 63 |
{ |
63 |
mSuccess.abortAllEffects(Distorted.TYPE_PRE);
|
|
64 |
mSuccess.abortAllEffects(EffectTypes.MATRIX.type);
|
|
64 | 65 |
|
65 | 66 |
if( bmpHeight/bmpWidth > height/width ) |
66 | 67 |
{ |
Also available in: Unified diff
Introduce ENUM EffectTypes