aboutsummaryrefslogblamecommitdiff
path: root/source/Vertice.h
blob: c4a591b68a03b1db5138a3048e4cf12a25fb271e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
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();
};