Project

General

Profile

« Previous | Next » 

Revision 334c13fa

Added by Leszek Koltunski over 7 years ago

Make the effect Center be always 3D.

View differences:

src/main/java/org/distorted/examples/plainmonalisa/RenderThread.java
63 63
  private DistortedBitmap monaLisa;
64 64
  private int bmpHeight, bmpWidth;
65 65

  
66
  private Static2D pLeft, pRight;
66
  private Static3D pLeft, pRight;
67 67
  private Static4D rLeft, rRight;
68 68

  
69 69
  private Dynamic3D dLeft, dRight;
......
77 77
    mSurfaceHolder = holder;
78 78
    mView = view;
79 79

  
80
    pLeft = new Static2D( 90, 258);
81
    pRight= new Static2D(176, 255);
80
    pLeft = new Static3D( 90, 258, 0);
81
    pRight= new Static3D(176, 255, 0);
82 82

  
83 83
    rLeft = new Static4D(-10,-10,25,25);
84 84
    rRight= new Static4D( 10, -5,25,25);

Also available in: Unified diff