Project

General

Profile

« Previous | Next » 

Revision 5055b5d4

Added by Leszek Koltunski over 7 years ago

1. (hopefully) finish the 'Save' app (now we can adjust the size of the resulting file)
2. Fix one long-standing bug in almost every single app.

View differences:

src/main/java/org/distorted/examples/plainmonalisa/RenderThread.java
214 214

  
215 215
    monaLisa.abortEffects(EffectTypes.MATRIX);
216 216

  
217
    if( bmpHeight/bmpWidth > height/width )
217
    if( (float)bmpHeight/bmpWidth > (float)height/width )
218 218
      {
219 219
      int w = (height*bmpWidth)/bmpHeight;
220 220
      float factor = (float)height/bmpHeight;

Also available in: Unified diff