First opengl/x11/window integration.
This commit is contained in:
parent
7c6a92f4ec
commit
cea3d2c39f
30 changed files with 254 additions and 72 deletions
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
class Edge;
|
||||
|
||||
|
@ -11,6 +12,8 @@ public:
|
|||
~TriFace();
|
||||
|
||||
static std::unique_ptr<TriFace> Create(Edge* edge0, Edge* edge1, Edge* edge2, unsigned id=0);
|
||||
|
||||
std::vector<unsigned> getNodeIds() const;
|
||||
private:
|
||||
unsigned mId{0};
|
||||
Edge* mEdge0{nullptr};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue