23 lines
343 B
C++
23 lines
343 B
C++
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <vector>
|
|
|
|
#include "structs.h"
|
|
#include "FileReader.h"
|
|
|
|
#include <GL/glut.h>
|
|
|
|
using namespace std;
|
|
|
|
int main(int argc, char** argv) {
|
|
FileReader fr;
|
|
|
|
fr.parseFile(*Renderer::getInstance());
|
|
|
|
Renderer::getInstance()->init(&argc,argv);
|
|
|
|
glutMainLoop();
|
|
|
|
return EXIT_SUCCESS;
|
|
}
|