first commit
This commit is contained in:
22
CS4451/proj4/main.cpp
Normal file
22
CS4451/proj4/main.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user