modify the perspective view angle to 30

Change-Id: I07b39f8b372368f82137feec3a6d12921fc1ec9f
This commit is contained in:
weigao
2014-06-16 22:58:26 -07:00
committed by Markus Mohrhard
parent 1c8babfdb0
commit c52e440377

View File

@@ -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();