Revision 95593730
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/girl/GirlRenderer.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.Float1D; |
15 | 16 |
import org.distorted.library.Float2D; |
16 | 17 |
import org.distorted.library.Float3D; |
... | ... | |
148 | 149 |
|
149 | 150 |
public void onSurfaceChanged(GL10 glUnused, int width, int height) |
150 | 151 |
{ |
151 |
mGirl.abortAllEffects(Distorted.TYPE_PRE);
|
|
152 |
mGirl.abortAllEffects(EffectTypes.MATRIX.type);
|
|
152 | 153 |
|
153 | 154 |
if( bmpHeight/bmpWidth > height/width ) |
154 | 155 |
{ |
Also available in: Unified diff
Introduce ENUM EffectTypes