added old working project
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user