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:
acad097
)
Current project progress; adding lighting and perspective functionality
author
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 06:08:25 +0000
(14:08 +0800)
committer
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 06:08:25 +0000
(14:08 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
0488bce
..
d57ce23
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-634,7
+634,7
@@
int main(int argc, char **argv) {
glEnable(GL_DEPTH_TEST); // Enables Depth Testing
\r
glDepthFunc(GL_LEQUAL); // the type
\r
\r
- glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
// Really Nice Perspective Calculations
\r
+ glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
\r
\r
glutReshapeFunc(windowReshape);
\r
glutDisplayFunc(display);
\r
UCC
git Repository :: git.ucc.asn.au