Project

General

Profile

« Previous | Next » 

Revision 20f42f61

Added by Leszek Koltunski about 3 years ago

Progress with Skewb Ultimate.

View differences:

src/main/java/org/distorted/objects/TwistyUltimate.java
92 92
           new Static4D(    F, 0.5f,    E, 0.0f )
93 93
         };
94 94

  
95
  // Colors of the faces of cubits. TODO
95
  // Colors of the faces of cubits.
96 96
  private static final int[][] mFaceMap = new int[][]
97 97
         {
98
           { 25,25,25, 36,36,36,36,36 },
99
           { 24,24,24, 36,36,36,36,36 },
100
           { 24,24,24, 36,36,36,36,36 },
101
           { 24,24,24, 36,36,36,36,36 },
102
           { 24,24,24, 36,36,36,36,36 },
103
           { 24,24,24, 36,36,36,36,36 },
104
           { 24,24,24, 36,36,36,36,36 },
105
           { 24,24,24, 36,36,36,36,36 },
106

  
107
           {  0, 0,12,12, 36,36,36,36 },
108
           {  0, 0,12,12, 36,36,36,36 },
109
           {  0, 0,12,12, 36,36,36,36 },
110
           {  0, 0,12,12, 36,36,36,36 },
111
           {  0, 0,12,12, 36,36,36,36 },
112
           {  0, 0,12,12, 36,36,36,36 }
98
           { 25,24,35, 36,36,36,36,36 },
99
           { 27,28,29, 36,36,36,36,36 },
100
           { 31,26,30, 36,36,36,36,36 },
101
           { 32,34,33, 36,36,36,36,36 },
102

  
103
           { 31,32,25, 36,36,36,36,36 },
104
           { 33,28,24, 36,36,36,36,36 },
105
           { 26,35,27, 36,36,36,36,36 },
106
           { 30,29,34, 36,36,36,36,36 },
107

  
108
           {  8, 0,13,21, 36,36,36,36 },
109
           {  1, 2,19,23, 36,36,36,36 },
110
           {  4,11,12,15, 36,36,36,36 },
111
           {  3, 6,14,17, 36,36,36,36 },
112
           {  5, 9,22,16, 36,36,36,36 },
113
           {  7,10,20,18, 36,36,36,36 }
113 114
         };
114 115

  
115 116
  // centers of the 14 cubits.
......
245 246
        {
246 247
        float[][] bands= new float[][]
247 248
          {
248
             {0.04f,17,0.5f,0.2f,5,  2,2},
249
             {0.03f,17,0.5f,0.2f,5,  2,2},
249 250
             {0.01f, 1,0.5f,0.2f,5,  2,2}
250 251
          };
251 252
        int[] bandIndexes   = new int[] { 0,0,0,1,1,1 };
......
270 271
        {
271 272
        float[][] bands= new float[][]
272 273
          {
273
             {0.04f,17,0.5f,0.2f,5,  2,2},
274
             {0.03f,17,0.5f,0.2f,5,  2,2},
274 275
             {0.01f, 1,0.5f,0.2f,5,  2,2}
275 276
          };
276 277
        int[] bandIndexes   = new int[] { 0,0,0,1,1,1 };
......
296 297
        float[][] bands= new float[][]
297 298
          {
298 299
            {0.04f,17,0.5f,0.2f,5,  2,2},
299
            {0.04f,17,0.5f,0.2f,5,  2,2},
300
            {0.03f,17,0.5f,0.2f,5,  2,2},
300 301
            {0.01f, 1,0.5f,0.2f,5,  2,2}
301 302
          };
302 303
        int[] bandIndexes   = new int[] { 0,0,1,1,2,2,2,2 };

Also available in: Unified diff