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/differentbitmaps/DifferentBitmapsRenderer.java
49 49
   
50 50
   private GLSurfaceView mView;
51 51
   private DistortedBitmap[] bmp;
52
   private Static2D mPoint;
52
   private Static3D mPoint;
53 53
   private Dynamic3D dDistort;
54 54
   private int bmpHeight, bmpWidth;
55 55
    
......
63 63
      dDistort = new Dynamic3D(3000,0.0f);
64 64
      dDistort.add(new Static3D( 25,0,0));
65 65
      dDistort.add(new Static3D(-25,0,0));
66
      mPoint = new Static2D(305, 380);
66
      mPoint = new Static3D(305, 380, 0);
67 67
      }
68 68

  
69 69
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff