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/TwistyMirror.java
193 193
// we cannot do this the standard, automatic way because there's only 1 color in the FACE_COLORS
194 194
// table and retCubitSolvedStatus() always returns -1,-1 or 0.
195 195

  
196
  protected int[] getSolvedQuats(int cubit, int[] numLayers)
196
  public int[] getSolvedQuats(int cubit, int[] numLayers)
197 197
    {
198 198
    if( numLayers[0]==3 )
199 199
      {
......
493 493

  
494 494
///////////////////////////////////////////////////////////////////////////////////////////////////
495 495

  
496
  protected Static4D getQuat(int cubit, int[] numLayers)
496
  public Static4D getQuat(int cubit, int[] numLayers)
497 497
    {
498 498
    if( mQuats ==null ) initializeQuats();
499 499
    return mQuats[0];
......
523 523

  
524 524
///////////////////////////////////////////////////////////////////////////////////////////////////
525 525

  
526
  protected float[][] getCubitPositions(int[] numLayers)
526
  public float[][] getCubitPositions(int[] numLayers)
527 527
    {
528 528
    if( mPositions==null )
529 529
      {

Also available in: Unified diff