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/TwistyJing.java
170 170

  
171 171
  public Static4D getCubitQuats(int cubit, int[] numLayers)
172 172
    {
173
    if( mQuatIndex==null ) mQuatIndex = new int[] {0,10,5,8,0,5,8,6,7,9,0,10,7,3};
173
    if( mQuatIndex==null ) mQuatIndex = new int[] {0,10,5,8,
174
                                                   0,5,8,6,7,9,
175
                                                   0,10,7,3};
174 176
    return mObjectQuats[mQuatIndex[cubit]];
175 177
    }
176 178

  

Also available in: Unified diff