Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. class MeshVertex;
  2. class MeshFace;
  3. class HalfEdge;
  4.  
  5. struct MeshVertex
  6. {
  7. glm::vec3 position, normal;
  8. HalfEdge *edge;
  9. };
  10.  
  11. struct MeshFace
  12. {
  13. HalfEdge *edge; // one of the half-edges bordering the face
  14. };
  15.  
  16. struct HalfEdge
  17. {
  18. HalfEdge *oppositeHalfEdge;
  19. HalfEdge *nextHalfEdge;
  20. Vertex *vertex;
  21. Face *face;
  22. };
  23.  
  24. class MeshHE
  25. {
  26.  
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement