Project

General

Profile

« Previous | Next » 

Revision faa3aed0

Added by Leszek Koltunski over 3 years ago

Introduce separate ROT_AXIS and FACE_AXIS ( step 2 )

View differences:

src/main/java/org/distorted/objects/RubikCube.java
53 53
  // the six axis that determine the faces
54 54
  static final Static3D[] FACE_AXIS = new Static3D[]
55 55
         {
56
           new Static3D(1,0,0), new Static3D(-1,0,0),
57
           new Static3D(0,1,0), new Static3D(0,-1,0),
58
           new Static3D(0,0,1), new Static3D(0,0,-1)
56
           new Static3D(-1,0,0), new Static3D(1,0,0),
57
           new Static3D(0,-1,0), new Static3D(0,1,0),
58
           new Static3D(0,0,-1), new Static3D(0,0,1)
59 59
         };
60 60

  
61 61
  private static final int[] FACE_COLORS = new int[]

Also available in: Unified diff