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:
6a04459
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 09:30:42 +0000
(17:30 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 09:30:42 +0000
(17:30 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
683eb1b
..
0f78831
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-492,13
+492,7
@@
void display() {
\r
glTranslatef(0.0f,0.0f,-4.0f); // Move Left 1.5 Units And Into The Screen 6.0
\r
\r
- glBegin(GL_QUADS);
\r
- glColor3f(1.0f,0.0f,0.0f); // Set The Color To Red
\r
- glVertex3f(-1.0f, 1.0f, 0.0f); // Top left
\r
- glVertex3f( 1.0f, 1.0f, 0.0f); // Top Right
\r
- glVertex3f( 1.0f,-1.0f, 0.0f); // Bottom Right
\r
- glVertex3f(-1.0f,-1.0f, 0.0f); // Bottom Left
\r
- glEnd();
\r
+ glutSolidTeapot(10.0);
\r
\r
glutSwapBuffers();
\r
}
\r
UCC
git Repository :: git.ucc.asn.au