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
260169d
..
80c1ee9
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-265,6
+265,12
@@
void display() {
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
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
+ gluPerspective(
\r
+ 60.0, /* field of view in degree */
\r
+ 1.0, /* aspect ratio */
\r
+ nearClip, /* Z near */
\r
+ farClip /* Z far */
\r
+ );
\r
\r
\r
// **NOTE: Currently this rotation function is all that moves the camera off
\r
\r
\r
// **NOTE: Currently this rotation function is all that moves the camera off
\r
UCC
git Repository :: git.ucc.asn.au