Revision da69c279
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/objects/TwistyObject.java | ||
---|---|---|
888 | 888 |
int index = CUBITS[i].removeRotationNow(quat); |
889 | 889 |
mMesh.setEffectAssociation(i, CUBITS[i].computeAssociation(),index); |
890 | 890 |
} |
891 |
/* |
|
892 |
if( NUM_CUBITS==18 ) |
|
893 |
{ |
|
894 |
boolean error=false; |
|
895 |
String str=""; |
|
896 |
|
|
897 |
for(int i=10; i<18; i++) |
|
898 |
{ |
|
899 |
int q = CUBITS[i].mQuatIndex; |
|
900 |
|
|
901 |
str += (" "+q); |
|
902 |
|
|
903 |
if( (((i%2)==0) && (q==2 || q== 8 || q==17 || q==23)) || |
|
904 |
(((i%2)==1) && (q==5 || q==11 || q==14 || q==20)) ) |
|
905 |
error=true; |
|
906 |
} |
|
907 |
|
|
908 |
if( error ) str+= " ERROR"; |
|
909 |
android.util.Log.e("D", "cubit: "+str); |
|
910 |
} |
|
911 |
|
|
912 |
*/ |
|
913 | 891 |
} |
914 | 892 |
|
915 | 893 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Square-2: progress.