Vertex.cpp 283 B

12345678910111213141516171819
  1. #include "Vertex.h"
  2. Vertex::Vertex(float x, float y, float z, float nx, float ny, float nz, float tx, float ty)
  3. {
  4. this->x = x;
  5. this->y = y;
  6. this->z = z;
  7. this->normalX = nx;
  8. this->normalY = ny;
  9. this->normalZ = nz;
  10. this->texX = tx;
  11. this->texY = ty;
  12. }
  13. Vertex::~Vertex()
  14. {
  15. }