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
749c2aa
..
46e4f93
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-123,11
+123,11
@@
GLfloat angle = -150; /* in degrees */
GLfloat angle2 = 30; /* in degrees */
\r
\r
/* Near and far parameters */
\r
GLfloat angle2 = 30; /* in degrees */
\r
\r
/* Near and far parameters */
\r
-GLfloat near = -
1
0;
\r
-GLfloat far =
1
0;
\r
+GLfloat near = -
2
0;
\r
+GLfloat far =
2
0;
\r
\r
/* Zoom factor for mouse movements */
\r
\r
/* Zoom factor for mouse movements */
\r
-GLfloat zoomFactor =
1
.0;
\r
+GLfloat zoomFactor =
2
.0;
\r
\r
/* Recursion level for floor drawing */
\r
int drawFloorRecurse = 5;
\r
\r
/* Recursion level for floor drawing */
\r
int drawFloorRecurse = 5;
\r
@@
-665,7
+665,7
@@
void display() {
\r
// Draw teapot for a test object
\r
glPushMatrix();
\r
\r
// Draw teapot for a test object
\r
glPushMatrix();
\r
- glTranslatef(0.0, 0.
0
, 0.0); // **NOTE: Teapot does not rest on surface
\r
+ glTranslatef(0.0, 0.
5
, 0.0); // **NOTE: Teapot does not rest on surface
\r
glColor3f(0.5, 0.5, 0.5);
\r
glutSolidTeapot(1);
\r
glPopMatrix();
\r
glColor3f(0.5, 0.5, 0.5);
\r
glutSolidTeapot(1);
\r
glPopMatrix();
\r
UCC
git Repository :: git.ucc.asn.au