Revision d76638f1
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.java | ||
---|---|---|
25 | 25 |
|
26 | 26 |
import org.distorted.examples.R; |
27 | 27 |
import org.distorted.library.effect.EffectName; |
28 |
import org.distorted.library.effect.EffectType; |
|
28 | 29 |
import org.distorted.library.effect.MatrixEffectMove; |
29 | 30 |
import org.distorted.library.effect.MatrixEffectScale; |
30 | 31 |
import org.distorted.library.main.Distorted; |
... | ... | |
57 | 58 |
|
58 | 59 |
AroundTheWorldRenderer(GLSurfaceView view) |
59 | 60 |
{ |
60 |
DistortedEffects.setMaxVertex(12);
|
|
61 |
DistortedEffects.setMaxFragment(9);
|
|
61 |
DistortedEffects.setMax(EffectType.VERTEX,12);
|
|
62 |
DistortedEffects.setMax(EffectType.FRAGMENT,9);
|
|
62 | 63 |
|
63 | 64 |
mMove = new Static3D(0,0,0); |
64 | 65 |
mScale= new Static3D(1,1,1); |
Also available in: Unified diff
Small API simplification.