projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa40b6b
)
array size second dim is simply 3...
author
Diederick Niehorster
<dcnieho@gmail.com>
Fri, 16 Mar 2012 04:22:34 +0000
(
04:22
+0000)
committer
Diederick 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
patch
|
blob
|
history
diff --git
a/src/fg_geometry.c
b/src/fg_geometry.c
index
5f4b0e1
..
14c48e8
100644
(file)
--- 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 },