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:
fbcff5f
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 10:51:52 +0000
(18:51 +0800)
committer
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 10:51:52 +0000
(18:51 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
242a104
..
aa26ba1
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-591,7
+591,7
@@
void display() {
gluLookAt(
\r
0.0, 0.0, 60.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
+ 0.0, 1.0, 0.0 /* up is in postivie Y direction */
\r
);
\r
\r
/* Reposition the light source. */
\r
@@
-645,7
+645,7
@@
void init() {
gluPerspective(
\r
60.0, /* field of view in degree */
\r
1.0, /* aspect ratio */
\r
- 0.0, /* Z near */
\r
+
-90
0.0, /* Z near */
\r
900.0 /* Z far */
\r
);
\r
\r
UCC
git Repository :: git.ucc.asn.au