started msh read in
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user