got one fo the cube's normals wrong
authorDiederick Niehorster <dcnieho@gmail.com>
Fri, 16 Mar 2012 04:23:48 +0000 (04:23 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Fri, 16 Mar 2012 04:23:48 +0000 (04:23 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1148 7f0cb862-5218-0410-a997-914c9d46530a

src/fg_geometry.c

index 14c48e8..a1d683d 100644 (file)
@@ -126,9 +126,9 @@ static GLdouble cube_v[CUBE_NUM_VERT][3] =
 /* Normal Vectors */
 static GLdouble cube_n[CUBE_NUM_FACES][3] =
 {
+    { 0.0, 0.0, 1.0},
     { 1.0, 0.0, 0.0},
     { 0.0, 1.0, 0.0},
-    { 0.0, 0.0, 1.0},
     {-1.0, 0.0, 0.0},
     { 0.0,-1.0, 0.0},
     { 0.0, 0.0,-1.0}