From 0a2da4f82435a49212e276d9d603e84ac298246d Mon Sep 17 00:00:00 2001 From: Mateja Date: Sun, 27 Dec 2020 00:09:34 +0100 Subject: Reorganize entire project. --- src/Vertice.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/Vertice.h (limited to 'src/Vertice.h') diff --git a/src/Vertice.h b/src/Vertice.h new file mode 100644 index 0000000..c4a591b --- /dev/null +++ b/src/Vertice.h @@ -0,0 +1,14 @@ +#include"Vector4f.h" +class Vertice : public Vector4f +{ +public: + float u, v; + Vertice(); + Vertice(float x_, float y_, float z_, float u_, float v_); + Vertice(float x_, float y_, float z_, float w_, float u_, float v_); + void screenspace(int screenWidth, int screenHeight); + Vertice multiplyMatrix(const Matrix4f& a); + Vertice& operator= (const Vector4f& a); + Vertice divideW(); +}; + -- cgit v1.2.3