From: Diederick Niehorster Date: Fri, 16 Mar 2012 04:22:34 +0000 (+0000) Subject: array size second dim is simply 3... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=322b257b6daebfa0d8a09b389eb935bf7d6d80c1;hp=fa40b6be28fa060c4ddbe72850d49c1e9d06a469;p=freeglut array size second dim is simply 3... git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1147 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/fg_geometry.c b/src/fg_geometry.c index 5f4b0e1..14c48e8 100644 --- a/src/fg_geometry.c +++ b/src/fg_geometry.c @@ -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 },