Revision 7b832206
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyJing.java | ||
---|---|---|
119 | 119 |
|
120 | 120 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
121 | 121 |
|
122 |
protected int[] getSolvedQuats(int cubit, int[] numLayers)
|
|
122 |
public int[] getSolvedQuats(int cubit, int[] numLayers)
|
|
123 | 123 |
{ |
124 | 124 |
if( mQuats==null ) initializeQuats(); |
125 | 125 |
int status = retCubitSolvedStatus(cubit,numLayers); |
... | ... | |
128 | 128 |
|
129 | 129 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
130 | 130 |
|
131 |
protected float[][] getCubitPositions(int[] numLayers)
|
|
131 |
public float[][] getCubitPositions(int[] numLayers)
|
|
132 | 132 |
{ |
133 | 133 |
if( mCenters==null ) |
134 | 134 |
{ |
... | ... | |
387 | 387 |
|
388 | 388 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
389 | 389 |
|
390 |
protected Static4D getQuat(int cubit, int[] numLayers)
|
|
390 |
public Static4D getQuat(int cubit, int[] numLayers)
|
|
391 | 391 |
{ |
392 | 392 |
if( mQuats==null ) initializeQuats(); |
393 | 393 |
if( mRotQuat ==null ) mRotQuat = new int[] {0,1,2,7,0,2,7,6,3,10,0,1,3,5}; |
Also available in: Unified diff
Progress with serializing object to JSON: cubits.
Only faceColorMap remains now.