summaryrefslogtreecommitdiff
path: root/src/GLView.h
diff options
context:
space:
mode:
authorGiles Bathgate <gilesbathgate@gmail.com>2011-05-14 19:47:17 (GMT)
committerGiles Bathgate <gilesbathgate@gmail.com>2011-05-14 19:47:17 (GMT)
commitccaf10dcc61cab770f6185b59703f1998b35618f (patch)
treec923478ee5c73fd9145e99c4a2fbf4cf8be284ab /src/GLView.h
parentb11865d5ce16e327e07a8d9eb6a875114f10a832 (diff)
Reduce multiple divisions by 10, and move similar code into single function.
Diffstat (limited to 'src/GLView.h')
-rw-r--r--src/GLView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GLView.h b/src/GLView.h
index 5ea3907..4977abb 100644
--- a/src/GLView.h
+++ b/src/GLView.h
@@ -69,7 +69,7 @@ private:
void initializeGL();
void resizeGL(int w, int h);
void setupPerspective();
- void setupOrtho();
+ void setupOrtho(double distance,bool offset=false);
void paintGL();
void normalizeAngle(GLdouble& angle);
contact: Jan Huwald // Impressum