Implement optimised array rendering

This commit is contained in:
2016-05-25 12:44:24 +02:00
parent fe1aa7220e
commit 84fcc346a9
7 changed files with 101 additions and 45 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "Vertex.h"
Vertex::Vertex(float x, float y, float z, float nx, float ny, float nz, float tx, float ty)
{
this->x = x;
this->y = y;
this->z = z;
this->normalX = nx;
this->normalY = ny;
this->normalZ = nz;
this->texX = tx;
this->texY = ty;
}
Vertex::~Vertex()
{
}