From: Diederick Niehorster Date: Fri, 16 Mar 2012 04:23:48 +0000 (+0000) Subject: got one fo the cube's normals wrong X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=acdc3f42c8e4ffb6d9a9296ff8391e8338432a93;p=freeglut got one fo the cube's normals wrong git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1148 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/fg_geometry.c b/src/fg_geometry.c index 14c48e8..a1d683d 100644 --- a/src/fg_geometry.c +++ b/src/fg_geometry.c @@ -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}