Revision 5de7841c
Added by Leszek Koltunski about 9 years ago
| src/main/java/org/distorted/library/DistortedCubes.java | ||
|---|---|---|
| 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 | 57 |
* <p> |
| 58 |
* <pre> |
|
| 58 | 59 |
* For example, (cols=2, desc="111010") describes the following shape: |
| 59 | 60 |
* |
| 60 | 61 |
* XX |
| ... | ... | |
| 66 | 67 |
* XX |
| 67 | 68 |
* |
| 68 | 69 |
* X |
| 70 |
* </pre> |
|
| 69 | 71 |
* </p> |
| 70 | 72 |
* @param cubeSize size, in pixels, of the single 1x1x1 cube our cuboid is built from |
| 71 | 73 |
* @param frontOnly Only create the front wall or side and back as well? |
Also available in: Unified diff
Javadoc.