Project

General

Profile

« Previous | Next » 

Revision c7a860f9

Added by Leszek Koltunski almost 8 years ago

Minor stuff - make the Bitmaps and the Cubes agree on the size of the grid, mostly.

View differences:

src/main/java/org/distorted/examples/bean/BeanRenderer.java
143 143
      bmpHeight = bitmap.getHeight();
144 144
      bmpWidth  = bitmap.getWidth();
145 145
      
146
      mBean = new DistortedBitmap(bitmap, 10);     
146
      mBean = new DistortedBitmap(bitmap, 9);
147 147
      mBean.distort(dLeft , pLeft , rLeft );
148 148
      mBean.distort(dRight, pRight, rRight);
149 149
      
src/main/java/org/distorted/examples/monalisa/MonaLisaRenderer.java
132 132
      bmpHeight = bitmap.getHeight();
133 133
      bmpWidth  = bitmap.getWidth();
134 134
      
135
      monaLisa = new DistortedBitmap(bitmap, 10);
135
      monaLisa = new DistortedBitmap(bitmap, 9);
136 136
      monaLisa.distort( dLeft, pLeft , rLeft );
137 137
      monaLisa.distort(dRight, pRight, rRight);
138 138

  
src/main/java/org/distorted/examples/plainmonalisa/RenderThread.java
188 188
      catch(IOException io) {}
189 189
      }
190 190

  
191
    monaLisa = new DistortedBitmap(bmp, 10);
191
    monaLisa = new DistortedBitmap(bmp, 9);
192 192
    monaLisa.distort( dLeft, pLeft , rLeft );
193 193
    monaLisa.distort(dRight, pRight, rRight);
194 194

  

Also available in: Unified diff