Revision e0b6c593
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/GridCubes.java | ||
---|---|---|
24 | 24 |
import java.util.ArrayList; |
25 | 25 |
|
26 | 26 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
27 |
|
|
27 |
/** |
|
28 |
* Create a 3D grid composed of Cubes. |
|
29 |
* <p> |
|
30 |
* Any subset of a MxNx1 cuboid is possible. |
|
31 |
*/ |
|
28 | 32 |
public class GridCubes extends GridObject |
29 | 33 |
{ |
30 | 34 |
private static final float R = 0.0f;//0.2f; |
... | ... | |
740 | 744 |
// PUBLIC API |
741 | 745 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
742 | 746 |
/** |
743 |
* Creates the underlying grid of vertices, normals, texture coords and colors.
|
|
747 |
* Creates the underlying grid of vertices, normals, texture coords. |
|
744 | 748 |
* |
745 | 749 |
* @param cols Integer helping to parse the next parameter. |
746 | 750 |
* @param desc String describing the subset of a MxNx1 cuboid that we want to create. |
Also available in: Unified diff
Javadoc