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
3d5583f
..
c579335
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-614,8
+614,7
@@
void display() {
\r
glPushMatrix();
\r
\r
\r
glPushMatrix();
\r
\r
- //glTranslatef(0.0, 0.0, 0.0);
\r
-
\r
+ glTranslatef(0.0, 0.0, 0.0);
\r
glutWireTeapot(30); // Draw teapot for test
\r
glPopMatrix();
\r
\r
glutWireTeapot(30); // Draw teapot for test
\r
glPopMatrix();
\r
\r
@@
-692,7
+691,7
@@
int main(int argc, char **argv) {
glDepthFunc(GL_LEQUAL); // the type
\r
glEnable(GL_CULL_FACE);
\r
glEnable(GL_TEXTURE_2D);
\r
glDepthFunc(GL_LEQUAL); // the type
\r
glEnable(GL_CULL_FACE);
\r
glEnable(GL_TEXTURE_2D);
\r
- glLineWidth(
3
.0);
\r
+ glLineWidth(
1
.0);
\r
\r
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
\r
\r
\r
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
\r
\r
UCC
git Repository :: git.ucc.asn.au