Vertex.h 428 B

123456789101112131415161718192021222324
  1. #pragma once
  2. class Vertex
  3. {
  4. public:
  5. Vertex(float x, float y, float z, float nx, float ny, float nz, float tx, float ty);
  6. ~Vertex();
  7. float x;
  8. float y;
  9. float z;
  10. float normalX;
  11. float normalY;
  12. float normalZ;
  13. float texX;
  14. float texY;
  15. Vertex operator/(const float &other) const;
  16. Vertex operator*(const Vertex &other) const;
  17. Vertex operator*(const float &other) const;
  18. Vertex operator+(const Vertex &other) const;
  19. };