Project

General

Profile

« Previous | Next » 

Revision 9b1fe915

Added by Leszek Koltunski over 2 years ago

Finally remove the 'getCubitFaceColor()' API

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyMinx.java
32 32
import org.distorted.objectlib.touchcontrol.TouchControlDodecahedron;
33 33
import org.distorted.objectlib.helpers.ScrambleState;
34 34
import org.distorted.objectlib.main.ShapeDodecahedron;
35
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron;
36 35

  
37 36
///////////////////////////////////////////////////////////////////////////////////////////////////
38 37

  
......
65 64
  Static4D[] mQuats;
66 65
  float[][] mCenterCoords;
67 66
  float[][] mCorners;
68
  int[][] mCornerFaceMap;
69 67
  int[] mQuatEdgeIndices;
70 68
  int[] mQuatCornerIndices;
71 69
  int[][] mEdgeMap;
......
186 184
      };
187 185
    }
188 186

  
189
///////////////////////////////////////////////////////////////////////////////////////////////////
190

  
191
  void initializeCornerFaceMap()
192
    {
193
    mCornerFaceMap = new int[][]
194
         {
195
           {  0, 1, 8 },
196
           {  6, 5,10 },
197
           {  1, 0,11 },
198
           {  5, 6, 3 },
199
           {  0, 9, 4 },
200
           {  5, 4, 9 },
201
           {  7, 1, 2 },
202
           {  2, 6, 7 },
203
           { 10, 9, 8 },
204
           {  4, 3,11 },
205
           {  7,10, 8 },
206
           {  3, 2,11 },
207
           {  0, 8, 9 },
208
           {  9,10, 5 },
209
           {  0, 4,11 },
210
           {  4, 5, 3 },
211
           {  1, 7, 8 },
212
           {  7, 6,10 },
213
           {  2, 1,11 },
214
           {  6, 2, 3 },
215
         };
216
    }
217

  
218 187
///////////////////////////////////////////////////////////////////////////////////////////////////
219 188

  
220 189
  void initializeQuats()

Also available in: Unified diff