Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MeshVertex;
- class MeshFace;
- class HalfEdge;
- struct MeshVertex
- {
- glm::vec3 position, normal;
- HalfEdge *edge;
- };
- struct MeshFace
- {
- HalfEdge *edge; // one of the half-edges bordering the face
- };
- struct HalfEdge
- {
- HalfEdge *oppositeHalfEdge;
- HalfEdge *nextHalfEdge;
- Vertex *vertex;
- Face *face;
- };
- class MeshHE
- {
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement