Revision 7764a67a
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/objects/TwistyMegaminx.java | ||
---|---|---|
44 | 44 |
{ |
45 | 45 |
static final float MEGA_D = 0.04f; |
46 | 46 |
|
47 |
private static final int[] QUAT_EDGE_INDICES = |
|
48 |
{ |
|
49 |
56, 40, 43, 59, 0, 55, 10, 17, 25, 49, |
|
50 |
48, 57, 18, 7, 53, 32, 20, 11, 31, 38, |
|
51 |
37, 30, 8, 28, 36, 44, 1, 46, 12, 14 |
|
52 |
}; |
|
53 |
|
|
54 | 47 |
private static final int[] QUAT_CENTER_INDICES = |
55 | 48 |
{ |
56 | 49 |
16, 18, 22, 1, 20, 13, 14, 15, 0, 12, 2, 3 |
... | ... | |
161 | 154 |
Static4D pri = mCurrCornerV[index]; |
162 | 155 |
Static4D sec = mCurrCornerV[(index+2)%3]; |
163 | 156 |
|
164 |
int layers= (numLayers-5)/2;
|
|
157 |
int layers= (numLayers-3)/2;
|
|
165 | 158 |
int multP = (block % layers) + 1; |
166 | 159 |
int multS = (block / layers); |
167 | 160 |
|
... | ... | |
290 | 283 |
{ |
291 | 284 |
if( mCornerMeshes[index]==null ) |
292 | 285 |
{ |
293 |
mCornerMeshes[index] = FactoryCubit.getInstance().createMegaminxCornerMesh(numLayers);
|
|
286 |
mCornerMeshes[index] = FactoryCubit.getInstance().createMinxCornerMesh(ObjectList.MEGA,numLayers);
|
|
294 | 287 |
} |
295 | 288 |
mesh = mCornerMeshes[index].copy(true); |
296 | 289 |
} |
Also available in: Unified diff
Progress with any size Kilominx.