Project

General

Profile

« Previous | Next » 

Revision cdc515b9

Added by Leszek Koltunski over 7 years ago

Correct Bean

View differences:

src/main/java/org/distorted/examples/bean/BeanRenderer.java
57 57
      {
58 58
      mView = v;
59 59
     
60
      pLeft = new Static3D(106, 192, 0);
61
      pRight= new Static3D(230, 150, 0);
60
      pLeft = new Static3D( 98, 183, 0);
61
      pRight= new Static3D(233, 140, 0);
62 62
      
63
      rLeft = new Static4D(-9,-31,35,35);
64
      rRight= new Static4D(-9,-31,35,35);
63
      rLeft = new Static4D( -3,-33,47,47);
64
      rRight= new Static4D(-14,-33,47,47);
65 65
     
66 66
      dLeft = new Dynamic3D(2000,0.0f);
67 67
      dRight= new Dynamic3D(2000,0.0f);
68 68

  
69 69
      Static3D p1 = new Static3D(  0,  0, 0);
70
      Static3D p2 = new Static3D(-10,-30, 0);
70
      Static3D p2 = new Static3D(-15,-30, 0);
71 71
      
72 72
      dLeft.add(p1);
73 73
      dLeft.add(p1);
......
143 143
      bmpHeight = bitmap.getHeight();
144 144
      bmpWidth  = bitmap.getWidth();
145 145
      
146
      mBean = new DistortedBitmap(bitmap, 30);
146
      mBean = new DistortedBitmap(bitmap, 25);
147 147
      mBean.distort(dLeft , pLeft , rLeft );
148 148
      mBean.distort(dRight, pRight, rRight);
149 149
      

Also available in: Unified diff