Revision 10cd5579
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/objects/TwistyBandagedAbstract.java | ||
---|---|---|
150 | 150 |
if( cubit>=0 && cubit< pos.length ) |
151 | 151 |
{ |
152 | 152 |
int numPoints = pos[cubit].length/3; |
153 |
return numPoints==8 ? 4:numPoints;
|
|
153 |
return numPoints==8 ? 4 : numPoints-1;
|
|
154 | 154 |
} |
155 | 155 |
|
156 | 156 |
return 1; |
... | ... | |
174 | 174 |
|
175 | 175 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
176 | 176 |
|
177 |
int getQuatIndex(int cubit) |
|
177 |
private int getQuatIndex(int cubit)
|
|
178 | 178 |
{ |
179 | 179 |
int[] indices = getQuatIndices(); |
180 | 180 |
|
Also available in: Unified diff
Bugfix.