Revision 334c13fa
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/sink/SinkRenderer.java | ||
---|---|---|
47 | 47 |
{ |
48 | 48 |
private GLSurfaceView mView; |
49 | 49 |
private DistortedBitmap sinkBmp; |
50 |
private Static2D pLeft, pRight;
|
|
50 |
private Static3D pLeft, pRight;
|
|
51 | 51 |
private Static4D Region; |
52 | 52 |
private int bmpHeight, bmpWidth; |
53 | 53 |
|
... | ... | |
57 | 57 |
{ |
58 | 58 |
mView = v; |
59 | 59 |
|
60 |
pLeft = new Static2D(214, 206);
|
|
61 |
pRight= new Static2D(390, 212);
|
|
60 |
pLeft = new Static3D(214, 206, 0);
|
|
61 |
pRight= new Static3D(390, 212, 0);
|
|
62 | 62 |
Region= new Static4D(0,0,60,60); |
63 | 63 |
} |
64 | 64 |
|
Also available in: Unified diff
Make the effect Center be always 3D.