git.ucc.asn.au
/
atyndall
/
cits2231.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[atyndall/cits2231.git]
/
scene.c
diff --git
a/scene.c
b/scene.c
index
de52ab8
..
73ce18a
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-263,7
+263,7
@@
void display() {
\r
// **NOTE: Currently this rotation function is all that moves the camera off
\r
// the flat surface. Need to integrate function into gluLookAt
\r
\r
// **NOTE: Currently this rotation function is all that moves the camera off
\r
// the flat surface. Need to integrate function into gluLookAt
\r
- glRotatef(
30.
0, 1.0, 0.0, 0.0);
\r
+ glRotatef(
-1
0, 1.0, 0.0, 0.0);
\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
@@
-314,8
+314,8
@@
void init() {
gluPerspective(
\r
60.0, /* field of view in degree */
\r
1.0, /* aspect ratio */
\r
gluPerspective(
\r
60.0, /* field of view in degree */
\r
1.0, /* aspect ratio */
\r
- near, /* Z near */
\r
- far /* Z far */
\r
+ near
Clip
, /* Z near */
\r
+ far
Clip
/* Z far */
\r
);
\r
\r
glMatrixMode(GL_MODELVIEW);
\r
);
\r
\r
glMatrixMode(GL_MODELVIEW);
\r
UCC
git Repository :: git.ucc.asn.au