projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
got one fo the cube's normals wrong
[freeglut]
/
src
/
fg_geometry.c
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}