This commit is contained in:
parent
5ea7baa201
commit
fcf5f61083
12 changed files with 212 additions and 151 deletions
|
@ -665,7 +665,7 @@ void CGLEnabledView::OnSizeGL(int cx, int cy)
|
|||
glPushMatrix();
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
glLoadIdentity();
|
||||
gluPerspective(40.0,m_dAspectRatio,0.1f, 10.0f);
|
||||
gluPerspective(40.0,m_dAspectRatio,0.1f, 100.0f);
|
||||
glTranslatef(0.0f,0.0f,-4.f);
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glPopMatrix();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue