From 79048d1ad84e33d5eacbc5dfbef752948e9a787f Mon Sep 17 00:00:00 2001 From: Mateja Date: Fri, 19 Feb 2021 14:56:08 +0100 Subject: Add texure loading check and loading time. Add ObjModel loadingTime. --- src/ObjModel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ObjModel.h') 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 #include #include +#include struct Triangle { int p[3][3]; @@ -21,6 +22,7 @@ public: std::vector uvcoo; std::vector normals; std::vector faces; + std::chrono::duration loadingTime; ObjModel(); ObjModel(std::string fileName); ObjModel(const ObjModel& a); -- cgit v1.2.3