Revision abf36986
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objects/TwistyBandagedAbstract.java | ||
---|---|---|
296 | 296 |
} |
297 | 297 |
} |
298 | 298 |
|
299 |
return mStickers[face/NUM_FACES]; |
|
299 |
return mStickers[face/NUM_FACE_COLORS];
|
|
300 | 300 |
} |
301 | 301 |
|
302 | 302 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
331 | 331 |
|
332 | 332 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
333 | 333 |
|
334 |
int getNumFaces() |
|
334 |
int getNumFaceColors()
|
|
335 | 335 |
{ |
336 | 336 |
return FACE_COLORS.length; |
337 | 337 |
} |
... | ... | |
450 | 450 |
|
451 | 451 |
boolean reaches = multiplier*position + dim[dimIndex]*0.5f > (numLayers-1)*0.5f; |
452 | 452 |
|
453 |
return reaches ? stickerIndex*NUM_FACES + face : NUM_TEXTURES; |
|
453 |
return reaches ? stickerIndex*NUM_FACE_COLORS + face : NUM_TEXTURES;
|
|
454 | 454 |
} |
455 | 455 |
|
456 | 456 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Add Mirror Cube 2x2 and 3x3.