git-svn-id: svn://db.shs.com.ru/libs@59 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2015-12-04 11:50:32 +00:00
parent edfd396059
commit 6ab9283a18
13 changed files with 92 additions and 46 deletions

View File

@@ -48,7 +48,7 @@ void Camera::apply(const GLdouble & aspect) {
glScaled(aspect, aspect, 1.);
QMatrix4x4 pm;// = glMatrixPerspective(fov_, aspect, depth_start, depth_end);
pm.perspective(fov_, aspect, depth_start, depth_end);
//qDebug() << pm << glMatrixPerspective(fov_, aspect, depth_start, depth_end);;
//qDebug() << pm;// << glMatrixPerspective(fov_, aspect, depth_start, depth_end);
setGLMatrix(pm);
glMatrixMode(GL_MODELVIEW);
pm.setToIdentity();