Project

General

Profile

« Previous | Next » 

Revision a4af26c1

Added by Leszek Koltunski about 2 years ago

Progress with cubit quaternions.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyUltimate.java
117 117

  
118 118
  public Static4D getCubitQuats(int cubit, int[] numLayers)
119 119
    {
120
    if( mQuatIndex==null ) mQuatIndex = new int[] { 0,2,5,6,0,8,2,1,0,5,8,9,1,6 };
120
    if( mQuatIndex==null ) mQuatIndex = new int[] { 0,2,5,6,
121
                                                    0,8,2,1,
122
                                                    0,5,8,9,1,6 };
121 123
    return mObjectQuats[mQuatIndex[cubit]];
122 124
    }
123 125

  

Also available in: Unified diff