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:
b6ef653
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 12:05:29 +0000
(20:05 +0800)
committer
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 12:05:29 +0000
(20:05 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
f86adf2
..
3320b82
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-416,7
+416,7
@@
int main(int argc, char **argv) {
glMatrixMode(GL_PROJECTION);
\r
gluPerspective( /* field of view in degree */ 40.0,
\r
/* aspect ratio */ 1.0,
\r
- /* Z near */
20.0, /* Z far */ 1
00.0);
\r
+ /* Z near */
-200.0, /* Z far */ 2
00.0);
\r
glMatrixMode(GL_MODELVIEW);
\r
gluLookAt(0.0, 8.0, 60.0, /* eye is at (0,8,60) */
\r
0.0, 8.0, 0.0, /* center is at (0,8,0) */
\r
UCC
git Repository :: git.ucc.asn.au