From a7c9aeee1e68235af406e30654e4b2e5f0f7fda2 Mon Sep 17 00:00:00 2001 From: MatejaMaric Date: Tue, 9 Jul 2019 00:26:42 +0200 Subject: First commit --- source/Vertice.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 source/Vertice.h (limited to 'source/Vertice.h') diff --git a/source/Vertice.h b/source/Vertice.h new file mode 100644 index 0000000..c4a591b --- /dev/null +++ b/source/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