Project

General

Profile

« Previous | Next » 

Revision e4bf4d02

Added by Leszek Koltunski about 3 years ago

Progress with Megaminx.

View differences:

src/main/java/org/distorted/objects/TwistyMinx.java
192 192
           {  6, 2, 3 },
193 193
         };
194 194

  
195
  static final int[] QUAT_CORNER_INDICES
196
    = {
195
  static final int[] QUAT_CORNER_INDICES =
196
      {
197 197
         0,  2,  3,  1, 40, 31, 41, 30, 39, 35,
198 198
        36, 34, 56, 32, 43, 21, 48, 28, 42, 23
199 199
      };
200 200

  
201
  static final int[] QUAT_EDGE_INDICES
202
    = {
203
        56, 40, 43, 59,  0, 55, 10, 17, 25, 49,
204
        48, 57, 18,  7, 53, 32, 20, 11, 31, 38,
205
        37, 30,  8, 28, 36, 44,  1, 46, 12, 14
206
      };
207

  
208 201
///////////////////////////////////////////////////////////////////////////////////////////////////
209 202

  
210 203
  TwistyMinx(int numLayers, int realSize, Static4D quat, DistortedTexture texture, MeshSquare mesh,

Also available in: Unified diff