GASimple MapEditor/callbacks.cpp
void reshapeCallback(int w, int h) {
	// I didn't add a resize function, so the window will always be set to 1024, 768
	glutReshapeWindow(1400, 770);
	glMatrixMode(GL_PROJECTION);	// sets up a projection view
	glLoadIdentity();
	gluOrtho2D(0.0, 1400, 0.0, 770);		// sets the coords of the orthogonal plane
	glViewport(0, 0, 1400, 770);			// sets the viewed coords
}
/*** reshapeCallback(int, int) | function to handle when the screen reshapes ***/
reshapeCallback(int, int) | function to handle when the screen reshapes
reshapeCallback ( int int ) | function to handle when the screen reshapes
void reshapeCallback(int w, int h) {
	glutReshapeWindow(1400, 770);
	glMatrixMode(GL_PROJECTION);	
	glLoadIdentity();
	gluOrtho2D(0.0, 1400, 0.0, 770);		
	glViewport(0, 0, 1400, 770);			
}
void reshapeCallback ( int w , int h ) { glutReshapeWindow ( 1400 , 770 ) ; glMatrixMode ( GL_PROJECTION ) ; glLoadIdentity ( ) ; gluOrtho2D ( 0.0 , 1400 , 0.0 , 770 ) ; glViewport ( 0 , 0 , 1400 , 770 ) ; }
reshapeCallback(int, int) | function to handle when the screen reshapes
reshapeCallback ( int int ) | function to handle when the screen reshapes
// I didn't add a resize function, so the window will always be set to 1024, 768 // sets up a projection view // sets the coords of the orthogonal plane // sets the viewed coords