added drag n drop function,
need to clean up before loading the next mesh
This commit is contained in:
@@ -179,6 +179,7 @@ void OpenGLController::setCallbackFunctions()
|
||||
glfwSetWindowSizeCallback(pWindow, windowResize);
|
||||
glfwSetScrollCallback(pWindow, mouseWheel);
|
||||
glfwSetKeyCallback(pWindow, keyPress);
|
||||
glfwSetDropCallback(pWindow, dragNdrop);
|
||||
}
|
||||
|
||||
glm::mat4 OpenGLController::getModelMatrix(unsigned int index)
|
||||
|
Reference in New Issue
Block a user