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:
ffb9581
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 01:45:34 +0000
(09:45 +0800)
committer
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 01:45:34 +0000
(09:45 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
e42c48c
..
71523bc
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-691,12
+691,12
@@
void init() {
glMatrixMode(GL_PROJECTION);
\r
glLoadIdentity();
\r
\r
- gluPerspective(
\r
- 60.0, /* field of view in degree */
\r
- 1.0, /* aspect ratio */
\r
-
-10
, /* Z near */
\r
-
10
/* Z far */
\r
- );
\r
+
//
gluPerspective(
\r
+
//
60.0, /* field of view in degree */
\r
+
//
1.0, /* aspect ratio */
\r
+
// near
, /* Z near */
\r
+
// far
/* Z far */
\r
+ // );
\r
\r
\r
glLightfv(GL_LIGHT0, GL_POSITION, light0_pos);
\r
UCC
git Repository :: git.ucc.asn.au