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:
5ef584f
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 06:37:58 +0000
(14:37 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 06:37:58 +0000
(14:37 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
f8fc31c
..
513ba51
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-488,6
+488,8
@@
void display() {
glTranslatef(-1.5f, 0.0f, -6.0f);
\r
\r
glBegin(GL_QUADS);
\r
+
\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
UCC
git Repository :: git.ucc.asn.au