Project

General

Profile

« Previous | Next » 

Revision 387b6326

Added by Leszek Koltunski over 2 years ago

Make the Kilo and Megaminxes standard size (dodecahedron size=3,5, i.e. equal to numLayers so that DIST2D and DIST3D are standard)

View differences:

src/main/java/org/distorted/objects/MovementMinx.java
30 30

  
31 31
class MovementMinx extends Movement
32 32
{
33
  static final float DIST3D = (float)Math.sqrt(0.625f+0.275f*SQ5)/3;
34
  static final float DIST2D = (0.5f*SIN54/COS54)/3;
33
  static final float DIST3D = (float)Math.sqrt(0.625f+0.275f*SQ5);
34
  static final float DIST2D = (SIN54/COS54)/2;
35 35

  
36 36
  static final Static3D[] FACE_AXIS = new Static3D[]
37 37
         {

Also available in: Unified diff