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:
f459b7e
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 06:58:21 +0000
(14:58 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 06:58:21 +0000
(14:58 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
a2f1514
..
0219621
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-464,7
+464,7
@@
void makeMenu() {
* @param h New height
\r
*/
\r
void windowReshape(int w, int h) {
\r
- GL
float
aspect = (GLfloat) h / (GLfloat) w;
\r
+ GL
double
aspect = (GLfloat) h / (GLfloat) w;
\r
GLdouble n = 10.0;
\r
\r
glViewport(0, 0, w, h);
\r
UCC
git Repository :: git.ucc.asn.au