Project

General

Profile

« Previous | Next » 

Revision 1b32d001

Added by Leszek Koltunski over 2 years ago

Make the Ultimate standard size (dodecahedron size=2, i.e. equal to numLayers so that DIST2D and DIST3D are standard)

View differences:

src/main/java/org/distorted/objects/MovementUltimate.java
31 31

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

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

Also available in: Unified diff