16 Color colorIndex = colors::main); |
16 Color colorIndex = colors::main); |
17 Triangle(const QVector<Point3D>& vertices, const Color color); |
17 Triangle(const QVector<Point3D>& vertices, const Color color); |
18 QVariant getProperty(Property id) const override; |
18 QVariant getProperty(Property id) const override; |
19 SetPropertyResult setProperty(Property id, const QVariant& value) override; |
19 SetPropertyResult setProperty(Property id, const QVariant& value) override; |
20 QString textRepresentation() const override; |
20 QString textRepresentation() const override; |
|
21 void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override; |
21 private: |
22 private: |
22 Point3D points[3] = {{}}; |
23 Point3D points[3] = {{}}; |
23 }; |
24 }; |
24 |
25 |