Revision 688662ef
Added by Leszek Koltunski about 9 years ago
| src/main/java/org/distorted/library/DistortedCubes.java | ||
|---|---|---|
| 54 | 54 |
* @param cols Integer helping to parse the next parameter. |
| 55 | 55 |
* @param desc String describing the subset of a MxNx1 cuboid that we want to create. |
| 56 | 56 |
* Its MxN characters - all 0 or 1 - decide of appropriate field is taken or not. |
| 57 |
* <p> |
|
| 58 |
* <pre> |
|
| 59 |
* For example, (cols=2, desc="111010") describes the following shape: |
|
| 57 |
* <p></p> |
|
| 58 |
* <p> |
|
| 59 |
* <pre> |
|
| 60 |
* For example, (cols=2, desc="111010") describes the following shape: |
|
| 60 | 61 |
* |
| 61 |
* XX
|
|
| 62 |
* X
|
|
| 63 |
* X
|
|
| 62 |
* XX |
|
| 63 |
* X |
|
| 64 |
* X |
|
| 64 | 65 |
* |
| 65 |
* whereas (cols=2,desc="110001") describes
|
|
| 66 |
* whereas (cols=2,desc="110001") describes |
|
| 66 | 67 |
* |
| 67 |
* XX
|
|
| 68 |
* XX |
|
| 68 | 69 |
* |
| 69 |
* X
|
|
| 70 |
* </pre>
|
|
| 71 |
* </p>
|
|
| 70 |
* X |
|
| 71 |
* </pre> |
|
| 72 |
* </p> |
|
| 72 | 73 |
* @param cubeSize size, in pixels, of the single 1x1x1 cube our cuboid is built from |
| 73 | 74 |
* @param frontOnly Only create the front wall or side and back as well? |
| 74 | 75 |
*/ |
Also available in: Unified diff
Beginnings of a new example app - a waving flag.
No actual waving yet!