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/TwistyRex.java
116 116

  
117 117
///////////////////////////////////////////////////////////////////////////////////////////////////
118 118

  
119
  protected int[] getSolvedQuats(int cubit, int[] numLayers)
119
  public int[] getSolvedQuats(int cubit, int[] numLayers)
120 120
    {
121 121
    if( mQuats==null ) initializeQuats();
122 122
    int status = retCubitSolvedStatus(cubit,numLayers);
......
216 216

  
217 217
///////////////////////////////////////////////////////////////////////////////////////////////////
218 218

  
219
  protected float[][] getCubitPositions(int[] numLayers)
219
  public float[][] getCubitPositions(int[] numLayers)
220 220
    {
221 221
    final float DIST1= 1.50f;
222 222
    final float DIST2= (1+2*REX_D)/2;
......
319 319

  
320 320
///////////////////////////////////////////////////////////////////////////////////////////////////
321 321

  
322
  protected Static4D getQuat(int cubit, int[] numLayers)
322
  public Static4D getQuat(int cubit, int[] numLayers)
323 323
    {
324 324
    if( mQuats==null ) initializeQuats();
325 325

  

Also available in: Unified diff