Vertex.h 380 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/(float &other);
  16. Vertex operator*(Vertex &other);
  17. Vertex operator*(float &other);
  18. Vertex operator+(Vertex &other);
  19. };