Revision 91786be2
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/deform/DeformActivity.java | ||
---|---|---|
127 | 127 |
{ |
128 | 128 |
case R.id.deformSeekRadius: DeformSurfaceView view = (DeformSurfaceView) this.findViewById(R.id.deformSurfaceView); |
129 | 129 |
view.getRenderer().setRegionRadius(progress); |
130 |
textR.setText("Radius: "+progress);
|
|
130 |
textR.setText("Radius: "+(progress<100 ? progress: "Infinity"));
|
|
131 | 131 |
break; |
132 | 132 |
} |
133 | 133 |
} |
Also available in: Unified diff
DEFORM: add support for Regions