diff options
Diffstat (limited to 'src/ObjModel.h')
-rw-r--r-- | src/ObjModel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ObjModel.h b/src/ObjModel.h index 9f66867..63d49ef 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,8 @@ public: std::vector<Texture_Coordinates> uvcoo;
std::vector<Vector4f> normals;
std::vector<Triangle> faces;
+ bool isLoaded;
+ std::chrono::duration<double> loadingTime;
ObjModel();
ObjModel(std::string fileName);
ObjModel(const ObjModel& a);
|