aboutsummaryrefslogtreecommitdiff
path: root/source/ObjModel.h
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-12-27 00:09:34 +0100
committerMateja <mail@matejamaric.com>2020-12-27 00:09:34 +0100
commit0a2da4f82435a49212e276d9d603e84ac298246d (patch)
tree1fea3b94712df18d1229f4f3492b540c90f6f302 /source/ObjModel.h
parenta84debff887c3e3d930665db140b7a287d3879d4 (diff)
downloaderender-0a2da4f82435a49212e276d9d603e84ac298246d.tar.gz
erender-0a2da4f82435a49212e276d9d603e84ac298246d.zip
Reorganize entire project.
Diffstat (limited to 'source/ObjModel.h')
-rw-r--r--source/ObjModel.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/source/ObjModel.h b/source/ObjModel.h
deleted file mode 100644
index 9f66867..0000000
--- a/source/ObjModel.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#include"Vertice.h"
-#include"Bitmap.h"
-#include<vector>
-#include<string>
-#include<sstream>
-#include<fstream>
-#include<exception>
-
-struct Triangle {
- int p[3][3];
-};
-
-struct Texture_Coordinates {
- float u, v;
-};
-
-class ObjModel
-{
-public:
- std::vector<Vertice> vertices;
- std::vector<Texture_Coordinates> uvcoo;
- std::vector<Vector4f> normals;
- std::vector<Triangle> faces;
- ObjModel();
- ObjModel(std::string fileName);
- ObjModel(const ObjModel& a);
- ObjModel multiplyMatrix(Matrix4f& a);
- void divideW();
- void screenspace(int width, int height);
-};
-