modify the perspective view angle to 30
Change-Id: I07b39f8b372368f82137feec3a6d12921fc1ec9f
This commit is contained in:
@@ -278,7 +278,7 @@ void OpenGL3DRenderer::init()
|
|||||||
glBufferData(GL_ARRAY_BUFFER, sizeof(boundBoxNormal), boundBoxNormal, GL_STATIC_DRAW);
|
glBufferData(GL_ARRAY_BUFFER, sizeof(boundBoxNormal), boundBoxNormal, GL_STATIC_DRAW);
|
||||||
glBindBuffer(GL_ARRAY_BUFFER, 0);
|
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);
|
m_3DProjection = glm::perspective(m_fViewAngle, (float)m_iWidth / (float)m_iHeight, 0.01f, 6000.0f);
|
||||||
|
|
||||||
maResources.LoadShaders();
|
maResources.LoadShaders();
|
||||||
|
Reference in New Issue
Block a user