Project

General

Profile

« Previous | Next » 

Revision d464f54f

Added by Leszek Koltunski over 2 years ago

Remove statics from the Dino classes.

View differences:

src/main/java/org/distorted/objects/TwistyCube.java
342 342

  
343 343
  int getFaceColor(int cubit, int cubitface, int numLayers)
344 344
    {
345
    return CUBITS[cubit].mRotationRow[cubitface/2] == (cubitface%2==0 ? (1<<(numLayers-1)):1) ? cubitface : NUM_FACES;
345
    return CUBITS[cubit].mRotationRow[cubitface/2] == (cubitface%2==0 ? (1<<(numLayers-1)):1) ? cubitface : NUM_TEXTURES;
346 346
    }
347 347

  
348 348
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff