Revision 3ef3364d
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/GridCubes.java | ||
---|---|---|
766 | 766 |
*/ |
767 | 767 |
public GridCubes(int cols, String desc, boolean frontOnly) |
768 | 768 |
{ |
769 |
super(frontOnly ? 0.0f:1.0f/cols); |
|
769 | 770 |
prepareDataStructures(cols,desc,frontOnly); |
770 | 771 |
build(frontOnly); |
771 | 772 |
} |
... | ... | |
780 | 781 |
*/ |
781 | 782 |
public GridCubes(int cols, int rows, boolean frontOnly) |
782 | 783 |
{ |
784 |
super(frontOnly ? 0.0f:1.0f/cols); |
|
783 | 785 |
prepareDataStructures(cols,rows,frontOnly); |
784 | 786 |
build(frontOnly); |
785 | 787 |
} |
Also available in: Unified diff
Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.