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:
bb41d60
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 00:51:41 +0000
(08:51 +0800)
committer
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 00:51:41 +0000
(08:51 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
a21c299
..
a09011c
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-188,10
+188,10
@@
void windowReshape(int w, int h) {
glLoadIdentity();
\r
if (w <= h)
\r
glFrustum(-near, far, -near,
\r
- far,
nearClip, farClip
);
\r
+ far,
1, 100
);
\r
else
\r
glFrustum(-near*((GLfloat) w / (GLfloat) h),
\r
- far, near, far,
nearClip, farClip
);
\r
+ far, near, far,
1, 100
);
\r
glMatrixMode(GL_MODELVIEW);
\r
}
\r
\r
UCC
git Repository :: git.ucc.asn.au