37 int triangleCount() const override; |
37 int triangleCount() const override; |
38 int numVertices() const override { return 3; } |
38 int numVertices() const override { return 3; } |
39 QString typeName() const override { return "triangle"; } |
39 QString typeName() const override { return "triangle"; } |
40 |
40 |
41 protected: |
41 protected: |
42 friend class Model; |
42 friend class ResourceVector<LDObject>; |
43 LDTriangle (Model* model); |
43 LDTriangle (Model* model); |
44 LDTriangle (Vertex const& v1, Vertex const& v2, Vertex const& v3, Model* model = nullptr); |
44 LDTriangle (Vertex const& v1, Vertex const& v2, Vertex const& v3, Model* model = nullptr); |
45 }; |
45 }; |