Revision 7b832206
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyHelicopter.java | ||
---|---|---|
142 | 142 |
|
143 | 143 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
144 | 144 |
|
145 |
protected int[] getSolvedQuats(int cubit, int[] numLayers)
|
|
145 |
public int[] getSolvedQuats(int cubit, int[] numLayers)
|
|
146 | 146 |
{ |
147 | 147 |
if( mQuats==null ) initializeQuats(); |
148 | 148 |
int status = retCubitSolvedStatus(cubit,numLayers); |
... | ... | |
241 | 241 |
|
242 | 242 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
243 | 243 |
|
244 |
protected float[][] getCubitPositions(int[] numLayers)
|
|
244 |
public float[][] getCubitPositions(int[] numLayers)
|
|
245 | 245 |
{ |
246 | 246 |
if( mCenters==null ) |
247 | 247 |
{ |
... | ... | |
358 | 358 |
|
359 | 359 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
360 | 360 |
|
361 |
protected Static4D getQuat(int cubit, int[] numLayers)
|
|
361 |
public Static4D getQuat(int cubit, int[] numLayers)
|
|
362 | 362 |
{ |
363 | 363 |
if( mQuats==null ) initializeQuats(); |
364 | 364 |
if( mQuatIndices==null ) mQuatIndices = new int[] { 0,13,14,1,12,2,3,7,20,6,13,17,7,23,18,12,22,10,8,16,11,21,19,9,3,15,14,0,5,2,1,4 }; |
Also available in: Unified diff
Progress with serializing object to JSON: cubits.
Only faceColorMap remains now.