Project

General

Profile

« Previous | Next » 

Revision e7daa161

Added by Leszek Koltunski over 2 years ago

- remove the retarded NODE_RATIO from TwistyObject
- more correctly estimate Cuboid's 'realSize' as an average of their 3 sizes.

View differences:

src/main/java/org/distorted/objectlib/main/ObjectControl.java
565 565
      {
566 566
      mScreenWidth = width;
567 567
      mScreenHeight= height;
568
      mScreenMin = Math.min(width, height);
569
      mPreRender.setScreenSize(width);
568
      mScreenMin = Math.min(width,height);
569
      mPreRender.setScreenSize(width,height);
570 570
      }
571 571

  
572 572
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff