Triangle.h 375 B

12345678910111213141516171819202122
  1. #ifndef TRIANGLE_H
  2. #define TRIANGLE_H
  3. #include "client/rendering/Vertex.h"
  4. struct Triangle final {
  5. Triangle();
  6. Triangle(const Vertex& a, const Vertex& b, const Vertex& c);
  7. //private:
  8. Vertex a;
  9. Vector3 normalA;
  10. Vector3 tangentA;
  11. Vertex b;
  12. Vector3 normalB;
  13. Vector3 tangentB;
  14. Vertex c;
  15. Vector3 normalC;
  16. Vector3 tangentC;
  17. };
  18. #endif