#include"Vertice.h" #include"Bitmap.h" #include #include #include #include struct Triangle { int p[3][3]; }; struct Texture_Coordinates { float u, v; }; class ObjModel { public: std::vector vertices; std::vector uvcoo; std::vector normals; std::vector faces; bool isLoaded; std::chrono::duration loadingTime; ObjModel(); ObjModel(std::string fileName); ObjModel(const ObjModel& a); ObjModel multiplyMatrix(Matrix4f& a); void divideW(); void screenspace(int width, int height); };