git.ucc.asn.au
/
atyndall
/
cits2231.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d2f9569
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 00:45:46 +0000
(08:45 +0800)
committer
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 00:45:46 +0000
(08:45 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
b62756c
..
e58ec7e
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-296,11
+296,11
@@
void display() {
glMatrixMode(GL_MODELVIEW);
\r
glLoadIdentity();
\r
\r
glMatrixMode(GL_MODELVIEW);
\r
glLoadIdentity();
\r
\r
- gluLookAt(
\r
- -30.0, -30.0, -30.0, /* eye is at (x,y,z) */
\r
- 0.0, 0.0, 0.0, /* center is at (x,y,z) */
\r
- 0.0, 1.0, 0.0 /* up is in postivie Y direction */
\r
- );
\r
+
//
gluLookAt(
\r
+
//
-30.0, -30.0, -30.0, /* eye is at (x,y,z) */
\r
+
///
0.0, 0.0, 0.0, /* center is at (x,y,z) */
\r
+
//
0.0, 1.0, 0.0 /* up is in postivie Y direction */
\r
+
//
);
\r
\r
/* Reposition the light source. */
\r
lightPosition[0] = 12*cos(lightAngle);
\r
\r
/* Reposition the light source. */
\r
lightPosition[0] = 12*cos(lightAngle);
\r
UCC
git Repository :: git.ucc.asn.au