Project

General

Profile

« Previous | Next » 

Revision 3e6b6e37

Added by Leszek Koltunski over 2 years ago

Increase NODE_RATIO, i.e. the height/width ratio of the DistortedNode behind the object (before with 1.4, if one scrambled the Mirror Cube and made it the largest possible, corners were cut off form the top and bottom)

View differences:

src/main/java/org/distorted/objects/TwistyObject.java
81 81
  static final float SQ5 = (float)Math.sqrt(5);
82 82
  static final float SQ6 = (float)Math.sqrt(6);
83 83

  
84
  private static final float NODE_RATIO = 1.40f;
84
  private static final float NODE_RATIO = 1.60f;
85 85
  private static final float MAX_SIZE_CHANGE = 1.35f;
86 86
  private static final float MIN_SIZE_CHANGE = 0.75f;
87 87

  

Also available in: Unified diff