mesh.h 360 B

123456789101112131415161718192021
  1. #ifndef MESH_H
  2. #define MESH_H
  3. #include "vector3.h"
  4. #include <vector>
  5. struct Mesh{
  6. int numVertices = 0;
  7. std::vector<Vector3> vertices;
  8. std::vector<Vector3> normals;
  9. int numFaces = 0;
  10. std::vector<Vector3> vertexIndices;
  11. std::vector<Vector3> textureIndices;
  12. std::vector<Vector3> normalsIndices;
  13. void describeMesh();
  14. };
  15. #endif