Revision 95593730
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/cubes/CubesRenderer.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
import org.distorted.examples.R; |
11 | 11 |
|
12 |
import org.distorted.library.EffectTypes; |
|
12 | 13 |
import org.distorted.library.InterpolatorQuat; |
13 | 14 |
import org.distorted.library.DistortedCubes; |
14 | 15 |
import org.distorted.library.Float4D; |
... | ... | |
78 | 79 |
{ |
79 | 80 |
mScreenMin = width<height ? width:height; |
80 | 81 |
|
81 |
mCubes.abortAllEffects(Distorted.TYPE_PRE);
|
|
82 |
mCubes.abortAllEffects(EffectTypes.MATRIX.type);
|
|
82 | 83 |
|
83 | 84 |
if( mRows/mCols > height/width ) |
84 | 85 |
{ |
Also available in: Unified diff
Introduce ENUM EffectTypes