Project

General

Profile

« Previous | Next » 

Revision 906cc928

Added by Leszek Koltunski about 4 years ago

Change the format of moves in Pretty Patterns to more terse, so that patterns of objects with 4 axis of rotation ( Pyraminx!) fit into 3 digits.

View differences:

src/main/java/org/distorted/objects/RubikPyraminx.java
54 54

  
55 55
  private static final int[] FACE_COLORS = new int[]
56 56
         {
57
           0xffffff00, 0xff00ff00,  // AXIS[0]right (YELLOW) AXIS[1]right (GREEN )
58
           0xffff0000, 0xff0000ff   // AXIS[2]right (RED   ) AXIS[3]right (BLUE  )
57
           0xff00ff00, 0xffffff00,  // AXIS[0]right (GREEN ) AXIS[1]right (YELLOW )
58
           0xff0000ff, 0xffff0000   // AXIS[2]right (BLUE  ) AXIS[3]right (RED    )
59 59
         };
60 60

  
61 61
  // computed with res/raw/compute_quats.c

Also available in: Unified diff