Revision 4946b635
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objects/TwistyPyraminx.java | ||
---|---|---|
222 | 222 |
|
223 | 223 |
for(int i=0; i<numLayers-1; i++) |
224 | 224 |
{ |
225 |
float cut = (1.0f+i-numLayers/3.0f)*(SQ6/3);
|
|
225 |
float cut = (1.0f+i-numLayers/4.0f)*(SQ6/3);
|
|
226 | 226 |
mCuts[0][i] = cut; |
227 | 227 |
mCuts[1][i] = cut; |
228 | 228 |
mCuts[2][i] = cut; |
Also available in: Unified diff
Major abstraction - automatically compute the 'computeRowFromOffset()' function from CUTS.
Still one thing left: it appears like the CUTS of Mega/Kilominxes are not correct.