Project

General

Profile

« Previous | Next » 

Revision 9ba7f3f6

Added by Leszek Koltunski over 1 year ago

Move scrambling to a new model where there are spearete scrambling 'algorithms' and 'edges' of the scrambling graph.
Now each edge can contain a whole algorithm, i.e. a sequence of moves leading from state to state, which permits construction of scrambling for more complicated bandaged objects such as the AI cube.

Unchecked as of yet, probably still a lot of bugs.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyMegaminx.java
28 28

  
29 29
///////////////////////////////////////////////////////////////////////////////////////////////////
30 30

  
31
public class TwistyMegaminx extends TwistyMinx
31
public class TwistyMegaminx extends TwistyDodecahedron
32 32
{
33 33
  static final float MEGA_D = 0.04f;
34 34
  private int[] mQuatCenterIndices;

Also available in: Unified diff