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:
7124144
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 01:31:57 +0000
(09:31 +0800)
committer
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 01:31:57 +0000
(09:31 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
230901a
..
2c0d4de
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-412,7
+412,8
@@
int main(int argc, char **argv) {
glDepthRange(0,1);
\r
glEnable(GL_DEPTH_TEST); // Enables Depth Testing
\r
glDepthFunc(GL_LEQUAL); // the type
\r
- //glEnable(GL_CULL_FACE);
\r
+ glEnable(GL_CULL_FACE);
\r
+ glCullFace(GL_BACK);
\r
glEnable(GL_TEXTURE_2D);
\r
glEnable(GL_NORMALIZE);
\r
glLineWidth(1.0);
\r
UCC
git Repository :: git.ucc.asn.au