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:
fffc1dd
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 07:02:38 +0000
(15:02 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 07:02:38 +0000
(15:02 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
824fbec
..
c176af0
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-489,6
+489,9
@@
void display() {
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
\r
glLoadIdentity();
\r
\r
+ glTranslatef(0.0f,0.0f,-6.0f); // Move Left 1.5 Units And Into The Screen 6.0
\r
+
\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
UCC
git Repository :: git.ucc.asn.au