array size second dim is simply 3...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1147 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
40e7dfa35c
commit
eb95f57fa6
@ -181,7 +181,7 @@ static void fghCubeGenerate()
|
|||||||
#define TETR_VERT_ELEM_PER_TETR TETR_VERT_PER_TETR*3
|
#define TETR_VERT_ELEM_PER_TETR TETR_VERT_PER_TETR*3
|
||||||
|
|
||||||
/* Vertex Coordinates */
|
/* Vertex Coordinates */
|
||||||
static GLdouble tet_r[TETR_NUM_VERT][TETR_NUM_VERT_PER_FACE] =
|
static GLdouble tet_r[TETR_NUM_VERT][3] =
|
||||||
{
|
{
|
||||||
{ 1.0, 0.0, 0.0 },
|
{ 1.0, 0.0, 0.0 },
|
||||||
{ -0.333333333333, 0.942809041582, 0.0 },
|
{ -0.333333333333, 0.942809041582, 0.0 },
|
||||||
|
Reference in New Issue
Block a user