Revision 7d8cc029
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/objects/TwistyMegaminx.java | ||
---|---|---|
62 | 62 |
super(size, size, quat, texture, mesh, effects, moves, ObjectList.MEGA, res, scrWidth); |
63 | 63 |
} |
64 | 64 |
|
65 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
66 |
// TODO |
|
67 |
|
|
68 |
double[][] getVertices(int cubitType) |
|
69 |
{ |
|
70 |
return null; |
|
71 |
} |
|
72 |
|
|
73 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
74 |
// TODO |
|
75 |
|
|
76 |
int[][] getVertIndexes(int cubitType) |
|
77 |
{ |
|
78 |
return null; |
|
79 |
} |
|
80 |
|
|
81 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
82 |
// 3 --> 3, 5 --> 4, 7 --> 5, 9 --> 6 |
|
83 |
|
|
84 |
int getNumCubitTypes(int numLayers) |
|
85 |
{ |
|
86 |
return 2 + numLayers/2; |
|
87 |
} |
|
88 |
|
|
89 | 65 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
90 | 66 |
|
91 | 67 |
private int numCubitsPerCorner(int numLayers) |
Also available in: Unified diff
Simplify.