Kaydet (Commit) c52e4403 authored tarafından weigao's avatar weigao Kaydeden (comit) Markus Mohrhard

modify the perspective view angle to 30

Change-Id: I07b39f8b372368f82137feec3a6d12921fc1ec9f
üst 1c8babfd
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment