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/girl/GirlRenderer.java
48 48
{
49 49
    private GLSurfaceView mView;
50 50
    private DistortedBitmap mGirl;
51
    private Static2D pLeft, pRight, pHips;
51
    private Static3D pLeft, pRight, pHips;
52 52
    private Static4D Region, sinkRegion, HipsRegion;
53 53
    private Dynamic3D diL, diR;
54 54
    private Dynamic1D diHips, diSink;
......
69 69
      hipsSwirl  = 0;
70 70
      boobsSink  = 1.0f;
71 71
      
72
      pLeft = new Static2D(132, 264);
73
      pRight= new Static2D(247, 264);
72
      pLeft = new Static3D(132, 264, 0);
73
      pRight= new Static3D(247, 264, 0);
74 74
      
75 75
      // Size
76 76
      sinkRegion = new Static4D(0,0,60,60);
......
102 102
      diR.add(v1);
103 103
      
104 104
      // Lower Movement
105
      pHips = new Static2D(216,505);
105
      pHips = new Static3D(216,505,0);
106 106
      HipsRegion = new Static4D(0,0,120,120);
107 107
      diHips = new Dynamic1D(1500,0.0f);
108 108
      

Also available in: Unified diff