Project

General

Profile

« Previous | Next » 

Revision 68b5f9c5

Added by Leszek Koltunski about 3 years ago

Progress making the Diamond class support any size.

View differences:

src/main/java/org/distorted/objects/TwistyObject.java
150 150
    NUM_CUBIT_FACES = getNumCubitFaces();
151 151
    NUM_TEXTURES = getNumStickerTypes(mNumLayers)*NUM_FACES;
152 152
    CUTS = getCuts(mNumLayers);
153
    NUM_CUTS = CUTS.length;
153
    NUM_CUTS = CUTS== null ? 0: CUTS.length;
154 154

  
155 155
    mQuatDebug = new int[NUM_CUBITS];
156 156

  

Also available in: Unified diff