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/bean/BeanRenderer.java
46 46
{
47 47
   private GLSurfaceView mView;
48 48
   private DistortedBitmap mBean;
49
   private Static2D pLeft, pRight;
49
   private Static3D pLeft, pRight;
50 50
   private Dynamic3D dLeft, dRight;
51 51
   private Static4D rLeft, rRight;
52 52
   private int bmpHeight, bmpWidth;
......
57 57
      {
58 58
      mView = v;
59 59
     
60
      pLeft = new Static2D(106, 192);
61
      pRight= new Static2D(230, 150);
60
      pLeft = new Static3D(106, 192, 0);
61
      pRight= new Static3D(230, 150, 0);
62 62
      
63 63
      rLeft = new Static4D(-9,-31,35,35);
64 64
      rRight= new Static4D(-9,-31,35,35);

Also available in: Unified diff