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/TwistyUltimate.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);
......
236 236

  
237 237
///////////////////////////////////////////////////////////////////////////////////////////////////
238 238

  
239
  protected Static4D getQuat(int cubit, int[] numLayers)
239
  public Static4D getQuat(int cubit, int[] numLayers)
240 240
    {
241 241
    if( mQuats     ==null ) initializeQuats();
242 242
    if( mQuatIndex ==null ) mQuatIndex = new int[] { 0,6,1,2,0,4,6,5,0,1,4,9,5,2 };
......
259 259

  
260 260
///////////////////////////////////////////////////////////////////////////////////////////////////
261 261

  
262
  protected float[][] getCubitPositions(int[] numLayers)
262
  public float[][] getCubitPositions(int[] numLayers)
263 263
    {
264 264
    if( mCenters==null )
265 265
      {

Also available in: Unified diff