Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // A rough implementation of the Half Edged
- // Data Structure. A lot more could be added
- // on top!
- struct Vertex;
- struct HalfEdge;
- struct Face;
- struct Vertex {
- Edge* halfEdge;
- };
- struct HalfEdge {
- Vertex* vertex;
- Edge* pair;
- Edge* next;
- Face* face;
- };
- struct Face {
- Edge* halfEdge;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement