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/TwistyIvy.java
118 118

  
119 119
///////////////////////////////////////////////////////////////////////////////////////////////////
120 120

  
121
  protected int[] getSolvedQuats(int cubit, int[] numLayers)
121
  public int[] getSolvedQuats(int cubit, int[] numLayers)
122 122
    {
123 123
    if( mQuats==null ) initializeQuats();
124 124
    int status = retCubitSolvedStatus(cubit,numLayers);
......
221 221

  
222 222
///////////////////////////////////////////////////////////////////////////////////////////////////
223 223

  
224
  protected float[][] getCubitPositions(int[] numLayers)
224
  public float[][] getCubitPositions(int[] numLayers)
225 225
    {
226 226
    final float DIST_CORNER = numLayers[0]-1;
227 227
    final float DIST_CENTER = numLayers[0]-1;
......
399 399

  
400 400
///////////////////////////////////////////////////////////////////////////////////////////////////
401 401

  
402
  protected Static4D getQuat(int cubit, int[] numLayers)
402
  public Static4D getQuat(int cubit, int[] numLayers)
403 403
    {
404 404
    if( mQuats==null ) initializeQuats();
405 405

  

Also available in: Unified diff