Revision 95593730
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/quaternion/QuaternionRenderer.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import org.distorted.examples.R; |
12 | 12 |
|
13 |
import org.distorted.library.EffectTypes; |
|
13 | 14 |
import org.distorted.library.Interpolator; |
14 | 15 |
import org.distorted.library.InterpolatorQuat; |
15 | 16 |
import org.distorted.library.DistortedCubes; |
... | ... | |
76 | 77 |
|
77 | 78 |
public void onSurfaceChanged(GL10 glUnused, int width, int height) |
78 | 79 |
{ |
79 |
mCube.abortAllEffects(Distorted.TYPE_PRE);
|
|
80 |
mCube.abortAllEffects(EffectTypes.MATRIX.type);
|
|
80 | 81 |
|
81 | 82 |
if( width > height ) |
82 | 83 |
{ |
Also available in: Unified diff
Introduce ENUM EffectTypes