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:
8664ff7
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 01:11:47 +0000
(09:11 +0800)
committer
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 01:11:47 +0000
(09:11 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
83e1c29
..
618fef1
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-305,12
+305,12
@@
void display() {
glLoadIdentity();
\r
\r
gluLookAt(
\r
- 0.0, 0.0,
30
.0, /* eye is at (x,y,z) */
\r
+ 0.0, 0.0,
15
.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
- glRotatef(
30
.0, 1.0, 0.0, 0.0);
\r
+ glRotatef(
45
.0, 1.0, 0.0, 0.0);
\r
\r
/* Reposition the light source. */
\r
lightPosition[0] = 12*cos(lightAngle);
\r
UCC
git Repository :: git.ucc.asn.au