Skip to content
Snippets Groups Projects
Select Git revision
  • 11a0f6e315f2fab2634891d38bb0c3f0373428ba
  • master default protected
  • summer2024
3 results

poetry.lock

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    main.cpp 560 B
    #ifndef _DEBUG
    #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
    #endif // DEBUG
    
    #include "OpenGLController.h"
    
    int main(int argc, char** argv)
    {
    	OpenGLController* scene = NULL;
    
    	if (argc == 3)
    	{
    		int major = atoi(argv[1]);
    		int minor = atoi(argv[2]);
    		scene = OpenGLController::getInstance(major, minor);
    	}
    	else
    		scene = OpenGLController::getInstance();
    
    	scene->loadMsh("..\\Release\\Msh\\quadPoly.msh");
    
    	do {
    		scene->updateScene();
    	} while (!glfwWindowShouldClose(scene->getWindow()));
    
    	delete scene;
    
    	return 0;
    }