Revision 9e7b6dbd
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/examples/wind/WindEffectsManager.java | ||
---|---|---|
89 | 89 |
{ |
90 | 90 |
Static3D midLeft = new Static3D(0,mHeight/2,0); |
91 | 91 |
Static3D midRight = new Static3D(mWidth,mHeight/2,0); |
92 |
Static4D windRegion = new Static4D(0,0,mWidth,mHeight);
|
|
92 |
Static4D windRegion = new Static4D(0,0,0,mHeight);
|
|
93 | 93 |
|
94 | 94 |
setWind(wind); |
95 | 95 |
|
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.