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:
a37cd47
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 01:54:40 +0000
(09:54 +0800)
committer
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 01:54:40 +0000
(09:54 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
9f8d21f
..
0a186f8
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-500,7
+500,7
@@
void makeMenu() {
*/
\r
void windowReshape(int w, int h) {
\r
glViewport(0, 0, (GLsizei) w, (GLsizei) h);
\r
-
/*
glMatrixMode(GL_PROJECTION);
\r
+ glMatrixMode(GL_PROJECTION);
\r
glLoadIdentity();
\r
if (w <= h)
\r
glOrtho(near, far, near*(GLfloat)h/(GLfloat)w,
\r
@@
-509,7
+509,7
@@
void windowReshape(int w, int h) {
glOrtho(near*(GLfloat)w/(GLfloat)h,
\r
far*(GLfloat)w/(GLfloat)h, near, far, near, far);
\r
glMatrixMode(GL_MODELVIEW);
\r
- glLoadIdentity();
*/
\r
+ glLoadIdentity();
\r
}
\r
\r
/**
\r
UCC
git Repository :: git.ucc.asn.au