added old working project

This commit is contained in:
Anakin
2016-09-07 17:17:17 +02:00
parent 07bf3f9394
commit f57614fd2a
26 changed files with 973 additions and 4 deletions

View File

@@ -179,10 +179,6 @@ void OpenGLController::setCallbackFunctions()
glfwSetKeyCallback(pWindow, keyPress);
}
/////////////////////////////////////////////////////////////////////////
// public getter
glm::mat4 OpenGLController::getMVPMatrix()
{
m4x4Projection = glm::perspective(fFOV, float(iWidth) / float(iHeight), fMinView, fMaxView);
@@ -199,6 +195,10 @@ glm::mat4 OpenGLController::getMVPMatrix()
return m4x4Projection * m4x4View * m4x4Model;
}
/////////////////////////////////////////////////////////////////////////
// public getter
GLFWwindow * OpenGLController::getWindow() const
{
return pWindow;