gameEngine/gameEngine/AbstractScene.cpp
//sets GLFWwindow, then calls setSize in case GLFWwindow is not the right size
sets GLFWwindow, then calls setSize in case GLFWwindow is not the right size
sets GLFWwindow then calls setSize in case GLFWwindow is not the right size
void AbstractScene::setWindow(GLFWwindow * newWindow)
{
	window = newWindow;
	setSize(this->width, this->height);
	glfwSetWindowSize(window, int(this->camera.getWidth()), int(this->camera.getHeight()));
}
void AbstractScene :: setWindow ( GLFWwindow * newWindow ) { window = newWindow ; setSize ( this -> width , this -> height ) ; glfwSetWindowSize ( window , int ( this -> camera . getWidth ( ) ) , int ( this -> camera . getHeight ( ) ) ) ; }
sets GLFWwindow, then calls setSize in case GLFWwindow is not the right size
sets GLFWwindow then calls setSize in case GLFWwindow is not the right size
//set window to scene's defined width and height