void DemoApplication::reshape(int w, int h) { GLDebugResetFont(w, h); m_glutScreenWidth = w; m_glutScreenHeight = h; glViewport(0, 0, w, h); updateCamera(); }
void bulletBaseApp::reshape(int w, int h) { GLDebugResetFont(w,h); m_glutScreenWidth = w; m_glutScreenHeight = h; glViewport(0, 0, w, h); updateCamera(); }