Revision c2cb520d
Added by Leszek Koltunski over 5 years ago
| src/main/java/org/distorted/object/RubikPyraminx.java | ||
|---|---|---|
| 72 | 72 |
} |
| 73 | 73 |
|
| 74 | 74 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 75 |
// TODO |
|
| 76 | 75 |
|
| 77 | 76 |
Static3D[] getCubitPositions(int size) |
| 78 | 77 |
{
|
| 78 |
/* |
|
| 79 |
int numCubits = size>1 ? 6*size*size - 12*size + 8 : 1; |
|
| 80 |
Static3D[] tmp = new Static3D[numCubits]; |
|
| 81 |
|
|
| 82 |
int currentPosition = 0; |
|
| 83 |
|
|
| 84 |
for(int x = 0; x<size; x++) |
|
| 85 |
for(int y = 0; y<size; y++) |
|
| 86 |
for(int z = 0; z<size; z++) |
|
| 87 |
if( x==0 || x==size-1 || y==0 || y==size-1 || z==0 || z==size-1 ) |
|
| 88 |
{
|
|
| 89 |
tmp[currentPosition++] = new Static3D(x,y,z); |
|
| 90 |
} |
|
| 91 |
|
|
| 92 |
return tmp; |
|
| 93 |
*/ |
|
| 79 | 94 |
return null; |
| 80 | 95 |
} |
| 81 | 96 |
|
| ... | ... | |
| 104 | 119 |
|
| 105 | 120 |
void createFaceTexture(Canvas canvas, Paint paint, int face) |
| 106 | 121 |
{
|
| 107 |
// TODO |
|
| 122 |
|
|
| 108 | 123 |
} |
| 109 | 124 |
|
| 110 | 125 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Icons, details.