Project

General

Profile

« Previous | Next » 

Revision eae4b3b2

Added by Leszek Koltunski almost 3 years ago

Convert bandaged Cubes to the standard mesh creation code.

View differences:

src/main/java/org/distorted/objects/TwistyBandaged3Plate.java
43 43
  // One State means one arrangement of the three 2x2 'plates'. Such State precisely defines which
44 44
  // rotations of the Cube are possible.
45 45
  // There are 27 such states in total, but 2 of them are unreachable from the initial State, and
46
  // 9 more and 'insignificant' - i.e. States which only permit rotation along a single axis.
46
  // 9 more are 'insignificant' - i.e. States which only permit rotation along a single axis.
47 47
  // When doing an automatic scramble, we never want to enter such 'insignificant' states because
48 48
  // that would mean we'd have to do two rotations in a row along the same axis.
49 49
  //
......
148 148
      case 1: mUseX = true ; mUseY = false; mUseZ = true ; break;
149 149
      case 2: mUseX = true ; mUseY = true ; mUseZ = false; break;
150 150
      }
151

  
152
    //android.util.Log.e("D", (info[0]==0 ? "X" : (info[0]==1 ? "Y" : "Z")) + info[2] +" --> "+info[3]);
153 151
    }
154 152

  
155 153
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff