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:
ee55eca
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 00:52:45 +0000
(08:52 +0800)
committer
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 00:52:45 +0000
(08:52 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
bf5b7e8
..
c322eb8
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-184,15
+184,6
@@
void makeMenu() {
*/
\r
void windowReshape(int w, int h) {
\r
glViewport(0, 0, (GLsizei) w, (GLsizei) h);
\r
- glMatrixMode(GL_PROJECTION);
\r
- glLoadIdentity();
\r
- if (w <= h)
\r
- glFrustum(-1, 100, -1,
\r
- 100, -1, 100);
\r
- else
\r
- glFrustum(-1,
\r
- 100, -1, 100, -1, 100);
\r
- glMatrixMode(GL_MODELVIEW);
\r
}
\r
\r
/**
\r
UCC
git Repository :: git.ucc.asn.au