Project

General

Profile

« Previous | Next » 

Revision 7b832206

Added by Leszek Koltunski over 2 years ago

Progress with serializing object to JSON: cubits.
Only faceColorMap remains now.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistySkewb.java
123 123

  
124 124
///////////////////////////////////////////////////////////////////////////////////////////////////
125 125

  
126
  protected int[] getSolvedQuats(int cubit, int[] numLayers)
126
  public int[] getSolvedQuats(int cubit, int[] numLayers)
127 127
    {
128 128
    if( mQuats==null ) initializeQuats();
129 129
    int status = retCubitSolvedStatus(cubit,numLayers);
......
243 243

  
244 244
///////////////////////////////////////////////////////////////////////////////////////////////////
245 245

  
246
  protected float[][] getCubitPositions(int[] numLayers)
246
  public float[][] getCubitPositions(int[] numLayers)
247 247
    {
248 248
    int numL = numLayers[0];
249 249
    final float DIST_CORNER = numL-1;
......
372 372

  
373 373
///////////////////////////////////////////////////////////////////////////////////////////////////
374 374

  
375
  protected Static4D getQuat(int cubit, int[] numLayers)
375
  public Static4D getQuat(int cubit, int[] numLayers)
376 376
    {
377 377
    if( mQuats==null ) initializeQuats();
378 378

  

Also available in: Unified diff