Revision 015642fb
Added by Leszek Koltunski over 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 |
* |
|
| 57 |
* <p>
|
|
| 58 | 58 |
* For example, (cols=2, desc="111010") describes the following shape: |
| 59 | 59 |
* |
| 60 | 60 |
* XX |
| ... | ... | |
| 66 | 66 |
* XX |
| 67 | 67 |
* |
| 68 | 68 |
* X |
| 69 |
* |
|
| 69 |
* </p>
|
|
| 70 | 70 |
* @param gridSize size, in pixels, of the single 1x1x1 cube our cuboid is built from |
| 71 | 71 |
* @param frontOnly Only create the front wall or side and back as well? |
| 72 | 72 |
*/ |
| ... | ... | |
| 111 | 111 |
|
| 112 | 112 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 113 | 113 |
/** |
| 114 |
* {@see DistortedObject#DistortedObject(DistortedObject,flags)}
|
|
| 114 |
* {@see DistortedObject#DistortedObject(DistortedObject,int)}
|
|
| 115 | 115 |
*/ |
| 116 | 116 |
public DistortedCubes(DistortedCubes dc, int flags) |
| 117 | 117 |
{
|
Also available in: Unified diff
Cleanup.