summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-28 22:24:34 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-28 23:05:36 +0200
commit939519560cfbaacb265df8c296fc239fbd5a830c (patch)
treeb7348f1f96029f1f367a343db7f8f69fecce012e /chart2
parentb158fd26951e42a9b31ca2bb4aa0bdd36f26a3ab (diff)
show the whole demo
Change-Id: I8e3adae6ef23c7750de0bcb5934d5743e24fde58
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/GL3DRenderer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx
index af5238b2e99b..8ee66c2c55c3 100644
--- a/chart2/source/view/main/GL3DRenderer.cxx
+++ b/chart2/source/view/main/GL3DRenderer.cxx
@@ -274,7 +274,7 @@ void OpenGL3DRenderer::init()
glBindBuffer(GL_ARRAY_BUFFER, 0);
m_fViewAngle = 60.0f;
- m_3DProjection = glm::perspective(m_fViewAngle, (float)m_iWidth / (float)m_iHeight, 0.01f, 2000.0f);
+ m_3DProjection = glm::perspective(m_fViewAngle, (float)m_iWidth / (float)m_iHeight, 0.01f, 6000.0f);
maResources.LoadShaders();
maPickingResources.LoadShaders();