| 
									
										
										
										
											2016-09-06 15:15:29 +02:00
										 |  |  | #ifndef _DEBUG
 | 
					
						
							|  |  |  | #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
 | 
					
						
							|  |  |  | #endif // DEBUG
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "OpenGLController.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | int main(int argc, char** argv) | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2016-09-07 12:46:34 +02:00
										 |  |  | 	OpenGLController scene = OpenGLController::getInstance(); | 
					
						
							| 
									
										
										
										
											2016-09-06 15:15:29 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	do { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		scene.updateScene(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		glfwSwapBuffers(scene.getWindow()); | 
					
						
							|  |  |  | 		glfwPollEvents(); | 
					
						
							|  |  |  | 	} while (!glfwWindowShouldClose(scene.getWindow())); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	return 0; | 
					
						
							|  |  |  | } |