Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. // A rough implementation of the Half Edged
  2. // Data Structure. A lot more could be added
  3. // on top!
  4.  
  5. struct Vertex;
  6. struct HalfEdge;
  7. struct Face;
  8.  
  9. struct Vertex {
  10. Edge* halfEdge;
  11. };
  12.  
  13. struct HalfEdge {
  14. Vertex* vertex;
  15. Edge* pair;
  16. Edge* next;
  17. Face* face;
  18. };
  19.  
  20. struct Face {
  21. Edge* halfEdge;
  22. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement