Revision 80cb15ab
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/library/MeshFlat.java | ||
---|---|---|
34 | 34 |
private int mCols, mRows; |
35 | 35 |
private int remainingVert; |
36 | 36 |
|
37 |
private static float[] mBoundingVert = new float[] { -0.5f,+0.5f,0.0f, |
|
38 |
-0.5f,-0.5f,0.0f, |
|
39 |
+0.5f,+0.5f,0.0f, |
|
40 |
+0.5f,-0.5f,0.0f }; |
|
41 |
|
|
42 | 37 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
43 | 38 |
// Create a flat, full grid. |
44 | 39 |
|
... | ... | |
167 | 162 |
return ret; |
168 | 163 |
} |
169 | 164 |
*/ |
170 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
171 |
|
|
172 |
float[] getBoundingVertices() |
|
173 |
{ |
|
174 |
return mBoundingVert; |
|
175 |
} |
|
176 | 165 |
|
177 | 166 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
178 | 167 |
// PUBLIC API |
Also available in: Unified diff
Change of API in anticipation for MeshCubes of any depth (currently only 0 and 1 work)