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/TwistySquare1.java
78 78

  
79 79
///////////////////////////////////////////////////////////////////////////////////////////////////
80 80

  
81
  protected int[] getSolvedQuats(int cubit, int[] numLayers)
81
  public int[] getSolvedQuats(int cubit, int[] numLayers)
82 82
    {
83 83
    if( mQuats==null ) initializeQuats();
84 84
    int status = retCubitSolvedStatus(cubit,numLayers);
......
188 188

  
189 189
///////////////////////////////////////////////////////////////////////////////////////////////////
190 190

  
191
  protected Static4D getQuat(int cubit, int[] numLayers)
191
  public Static4D getQuat(int cubit, int[] numLayers)
192 192
    {
193 193
    if( mQuats==null ) initializeQuats();
194 194
    if( mQuatNumber ==null )
......
274 274

  
275 275
///////////////////////////////////////////////////////////////////////////////////////////////////
276 276

  
277
  protected float[][] getCubitPositions(int[] numLayers)
277
  public float[][] getCubitPositions(int[] numLayers)
278 278
    {
279 279
    if( mCenters==null )
280 280
      {

Also available in: Unified diff