projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322b257
)
got one fo the cube's normals wrong
author
Diederick Niehorster
<dcnieho@gmail.com>
Fri, 16 Mar 2012 04:23:48 +0000
(
04:23
+0000)
committer
Diederick 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
patch
|
blob
|
history
diff --git
a/src/fg_geometry.c
b/src/fg_geometry.c
index
14c48e8
..
a1d683d
100644
(file)
--- 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}