Project

General

Profile

« Previous | Next » 

Revision a4962b9c

Added by Leszek Koltunski about 3 years ago

Progress with any size Kilominx.

View differences:

src/main/java/org/distorted/objects/TwistyDiamond.java
389 389
        case 7: axis = 0; layer =             1; break;
390 390
        }
391 391

  
392
      return CUBITS[cubit].mRotationRow[axis] == layer ? cubitface : NUM_FACES;
392
      return CUBITS[cubit].mRotationRow[axis] == layer ? cubitface : NUM_TEXTURES;
393 393
      }
394 394
    else
395 395
      {
396
      return cubitface>0 ? NUM_FACES : retFaceTetraBelongsTo(cubit-numO, size);
396
      return cubitface>0 ? NUM_TEXTURES : retFaceTetraBelongsTo(cubit-numO, size);
397 397
      }
398 398
    }
399 399

  

Also available in: Unified diff