Revision 334c13fa
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/listener/ListenerRenderer.java | ||
---|---|---|
77 | 77 |
dDistort.add(new Static3D(0,0, 0)); |
78 | 78 |
dDistort.add(new Static3D(0,0,height)); |
79 | 79 |
|
80 |
return water.distort(dDistort, new Static2D(pointx,pointy), new Static4D(0,0,radius,radius));
|
|
80 |
return water.distort(dDistort, new Static3D(pointx,pointy,0), new Static4D(0,0,radius,radius));
|
|
81 | 81 |
} |
82 | 82 |
|
83 | 83 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Make the effect Center be always 3D.