Revision 8fca4a82
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/check/CheckRenderer.java | ||
---|---|---|
77 | 77 |
|
78 | 78 |
CheckActivity act = (CheckActivity)mView.getContext(); |
79 | 79 |
|
80 |
DistortedEffects.setMax(EffectType.VERTEX ,act.getMaxV());
|
|
81 |
DistortedEffects.setMax(EffectType.FRAGMENT,act.getMaxF());
|
|
80 |
Distorted.setMax(EffectType.VERTEX ,act.getMaxV()); |
|
81 |
Distorted.setMax(EffectType.FRAGMENT,act.getMaxF()); |
|
82 | 82 |
|
83 | 83 |
VertexEffectSwirl.enable(); |
84 | 84 |
VertexEffectDeform.enable(); |
Also available in: Unified diff
Move all Program-related stuff to Distorted. Now the DistortedEffects class is very simple.