Revision 9e7b6dbd
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/examples/effectqueue/EffectQueueSurfaceView.java | ||
---|---|---|
96 | 96 |
final ConfigurationInfo configurationInfo = activityManager.getDeviceConfigurationInfo(); |
97 | 97 |
setEGLContextClientVersion( (configurationInfo.reqGlEsVersion>>16) >= 3 ? 3:2 ); |
98 | 98 |
setRenderer(mRenderer); |
99 |
mRegionV= new Static4D(0,0,RADIUS,RADIUS);
|
|
99 |
mRegionV= new Static4D(0,0,0,RADIUS);
|
|
100 | 100 |
setEffect(0); |
101 | 101 |
} |
102 | 102 |
} |
Also available in: Unified diff
Redefine the Vertex Region from (x,y,r,unused) to (x,y,z,r). This takes into account the 'Z', which makes it possible to warp only one side of a 3D Mesh like Sphere.
Also corresponding changes in applications.