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/TwistyBandagedAbstract.java
121 121

  
122 122
///////////////////////////////////////////////////////////////////////////////////////////////////
123 123

  
124
  protected int[] getSolvedQuats(int cubit, int[] numLayers)
124
  public int[] getSolvedQuats(int cubit, int[] numLayers)
125 125
    {
126 126
    if( mQuats==null ) initializeQuats();
127 127
    int status = retCubitSolvedStatus(cubit,numLayers);
......
216 216

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

  
219
  protected Static4D getQuat(int cubit, int[] numLayers)
219
  public Static4D getQuat(int cubit, int[] numLayers)
220 220
    {
221 221
    if( mInitQuats ==null )
222 222
      {
......
306 306

  
307 307
///////////////////////////////////////////////////////////////////////////////////////////////////
308 308

  
309
  protected float[][] getCubitPositions(int[] numLayers)
309
  public float[][] getCubitPositions(int[] numLayers)
310 310
    {
311 311
    int numCubits = getNumCubits();
312 312
    float[][] tmp = new float[numCubits][];

Also available in: Unified diff