diff options
author | weigao <weigao@multicorewareinc.com> | 2014-06-16 22:58:26 -0700 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-06-17 07:43:57 +0200 |
commit | c52e440377750ef83cfd65ffdd7f24165123fd2d (patch) | |
tree | f062cd2de82a0d463eb590104faf93fa1f44f53a /chart2 | |
parent | 1c8babfdb0808318bbaa94e911c819456a65337e (diff) |
modify the perspective view angle to 30
Change-Id: I07b39f8b372368f82137feec3a6d12921fc1ec9f
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/GL3DRenderer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx index a7d14961d44b..52199c58391d 100644 --- a/chart2/source/view/main/GL3DRenderer.cxx +++ b/chart2/source/view/main/GL3DRenderer.cxx @@ -278,7 +278,7 @@ void OpenGL3DRenderer::init() glBufferData(GL_ARRAY_BUFFER, sizeof(boundBoxNormal), boundBoxNormal, GL_STATIC_DRAW); glBindBuffer(GL_ARRAY_BUFFER, 0); - m_fViewAngle = 60.0f; + m_fViewAngle = 30.0f; m_3DProjection = glm::perspective(m_fViewAngle, (float)m_iWidth / (float)m_iHeight, 0.01f, 6000.0f); maResources.LoadShaders(); |