Revision f953bee0
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/library/mesh/MeshSphere.java | ||
---|---|---|
197 | 197 |
attribs[VERT_ATTRIBS*currentVert + NOR_ATTRIB ] = 2*x;// the vertex coords, normal vector, and |
198 | 198 |
attribs[VERT_ATTRIBS*currentVert + NOR_ATTRIB+1] = 2*y;// inflate vector have identical (x,y,z). |
199 | 199 |
attribs[VERT_ATTRIBS*currentVert + NOR_ATTRIB+2] = 2*z;// |
200 |
// TODO: think about some more efficient |
|
200 |
// TODO: think dialog_about some more efficient
|
|
201 | 201 |
attribs[VERT_ATTRIBS*currentVert + INF_ATTRIB ] = x; // representation. |
202 | 202 |
attribs[VERT_ATTRIBS*currentVert + INF_ATTRIB+1] = y; // |
203 | 203 |
attribs[VERT_ATTRIBS*currentVert + INF_ATTRIB+2] = z; // |
Also available in: Unified diff
Making the Dialogs more consistent.