Project

General

Profile

« Previous | Next » 

Revision 9f4c44fe

Added by Leszek Koltunski about 4 years ago

Progress with the Pyraminx - computing all legal quaternions!

View differences:

src/main/java/org/distorted/object/RubikCube.java
62 62
  // multiplying them and eventually you'll find all (24) legal rotations.
63 63
  // 3) linear scan through those shows that the only floats in those 24 quats are those 7 given
64 64
  // below.
65
  //
66
  // Example program in C, res/raw/compute_quats.c , is included.
65 67
  private static final float[] LEGALQUATS = new float[]
66 68
         {
67 69
           0.0f ,

Also available in: Unified diff