array size second dim is simply 3...
authorDiederick Niehorster <dcnieho@gmail.com>
Fri, 16 Mar 2012 04:22:34 +0000 (04:22 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Fri, 16 Mar 2012 04:22:34 +0000 (04:22 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1147 7f0cb862-5218-0410-a997-914c9d46530a

src/fg_geometry.c

index 5f4b0e1..14c48e8 100644 (file)
@@ -181,7 +181,7 @@ static void fghCubeGenerate()
 #define TETR_VERT_ELEM_PER_TETR TETR_VERT_PER_TETR*3
 
 /* 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 },
     { -0.333333333333,  0.942809041582,             0.0 },