aboutsummaryrefslogtreecommitdiff
path: root/src/ObjModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ObjModel.h')
-rw-r--r--src/ObjModel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ObjModel.h b/src/ObjModel.h
index 9f66867..5ceed26 100644
--- a/src/ObjModel.h
+++ b/src/ObjModel.h
@@ -5,6 +5,7 @@
#include<sstream>
#include<fstream>
#include<exception>
+#include<chrono>
struct Triangle {
int p[3][3];
@@ -21,6 +22,7 @@ public:
std::vector<Texture_Coordinates> uvcoo;
std::vector<Vector4f> normals;
std::vector<Triangle> faces;
+ std::chrono::duration<double> loadingTime;
ObjModel();
ObjModel(std::string fileName);
ObjModel(const ObjModel& a);