Project

General

Profile

« Previous | Next » 

Revision 83dadb4a

Added by Leszek Koltunski about 1 year ago

Decouple (to a large degree) the OpenGL Library from Android.

View differences:

src/main/java/org/distorted/objectlib/tablebases/TBDino4.java
187 187

  
188 188
  private static int[] partitionFromQuats(int[] quats)
189 189
    {
190
    return null;
190
    int[] tmp = new int[12];
191
    System.arraycopy(quats, 0, tmp, 0, 12);
192
    TBDino6.getPermFromQuats(tmp);
193

  
194
    return tmp;
191 195
    }
192 196

  
193 197
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/objectlib/tablebases/TBDino6.java
338 338
///////////////////////////////////////////////////////////////////////////////////////////////////
339 339
// in-place!
340 340

  
341
  private int[] getPermFromQuats(int[] quats)
341
  public static int[] getPermFromQuats(int[] quats)
342 342
    {
343 343
    for(int i=0; i<12; i++)
344 344
      {

Also available in: Unified diff