Revision 334c13fa
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/monalisa/MonaLisaRenderer.java | ||
---|---|---|
45 | 45 |
{ |
46 | 46 |
private GLSurfaceView mView; |
47 | 47 |
private DistortedBitmap monaLisa; |
48 |
private Static2D pLeft, pRight;
|
|
48 |
private Static3D pLeft, pRight;
|
|
49 | 49 |
private Static4D rLeft, rRight; |
50 | 50 |
private Dynamic3D dLeft, dRight; |
51 | 51 |
|
... | ... | |
57 | 57 |
{ |
58 | 58 |
mView = v; |
59 | 59 |
|
60 |
pLeft = new Static2D( 90, 258);
|
|
61 |
pRight= new Static2D(176, 255);
|
|
60 |
pLeft = new Static3D( 90, 258, 0);
|
|
61 |
pRight= new Static3D(176, 255, 0);
|
|
62 | 62 |
|
63 | 63 |
rLeft = new Static4D(-10,-10,25,25); |
64 | 64 |
rRight= new Static4D( 10, -5,25,25); |
Also available in: Unified diff
Make the effect Center be always 3D.