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:
256fe1d
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 11:39:22 +0000
(19:39 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 11:39:22 +0000
(19:39 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
6441466
..
327467d
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-500,10
+500,10
@@
void display() {
\r
glTranslatef(0.0f, 0.0f, 0.0f);
\r
glBegin(GL_QUADS);
\r
- glVertex3f(
-1.0f, 1.0f, 0
.0f);
\r
- glVertex3f(
1.0f, 1.0f, 0
.0f);
\r
- glVertex3f(
1.0f,-1.0f, 0
.0f);
\r
- glVertex3f(
-1.0f,-1.0f, 0
.0f);
\r
+ glVertex3f(
0.0f, 1.0f, -1
.0f);
\r
+ glVertex3f(
0.0f, 1.0f, 1
.0f);
\r
+ glVertex3f(
0.0f,-1.0f, 1
.0f);
\r
+ glVertex3f(
0.0f,-1.0f, -1
.0f);
\r
glEnd();
\r
\r
\r
UCC
git Repository :: git.ucc.asn.au