MCPcopy Create free account
hub / github.com/RenderKit/embree / reshapeFunc

Method reshapeFunc

tutorials/common/tutorial/tutorial.cpp:987–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

985 }
986
987 void TutorialApplication::reshapeFunc(GLFWwindow* window, int, int)
988 {
989 int width,height;
990 glfwGetFramebufferSize(window, &width, &height);
991 resize(width,height);
992 glViewport(0, 0, width, height);
993 this->width = width; this->height = height;
994 }
995
996 void TutorialApplication::renderInteractive()
997 {

Callers 1

reshapeFuncFunction · 0.80

Calls 1

resizeFunction · 0.50

Tested by

no test coverage detected