started msh read in

This commit is contained in:
Anakin
2016-09-12 16:49:05 +02:00
parent 663bb62098
commit 05b6e4f9ed
6 changed files with 55 additions and 277 deletions

View File

@@ -3,9 +3,24 @@
#endif // DEBUG
#include "OpenGLController.h"
#include "Object.h"
#include <iostream>
#include <Windows.h>
int main(int argc, char** argv)
{
try {
Object obj("..\\Release\\Msh\\cube.msh");
}
catch (std::invalid_argument e)
{
std::cout << e.what() << std::endl;
}
system("pause");
return 0;
OpenGLController *scene = OpenGLController::getInstance();
scene->loadMsh("test.msh");