Reorganize and add License
This commit is contained in:
22
src/main.cpp
Normal file
22
src/main.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#include <iostream>
|
||||
#include <glad/glad.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#include "Controller.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
// Suppress warning about unused variable
|
||||
(void)argc; (void)argv;
|
||||
|
||||
#ifdef _DEBUG
|
||||
std::cout << "[Debug Mode]" << std::endl;
|
||||
#endif
|
||||
|
||||
// Create window
|
||||
Controller *mainController = new Controller();
|
||||
|
||||
mainController->run();
|
||||
|
||||
delete mainController;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user