--- a/src/linetypes/edge.h Sun Jan 26 01:06:27 2020 +0200 +++ b/src/linetypes/edge.h Sun Jan 26 14:29:30 2020 +0200 @@ -11,9 +11,9 @@ public: using BaseClass = ColoredObject; Edge() = default; - Edge(const Point3D& point_1, const Point3D& point_2, + Edge(const glm::vec3& point_1, const glm::vec3& point_2, const Color colorIndex = colors::edge); - Edge(const QVector<Point3D>& vertices, const Color color); + Edge(const QVector<glm::vec3>& vertices, const Color color); QVariant getProperty(Property property) const override; SetPropertyResult setProperty( Property property, @@ -21,6 +21,6 @@ QString textRepresentation() const override; void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override; private: - Point3D point_1 = {}; - Point3D point_2 = {}; + glm::vec3 point_1 = {}; + glm::vec3 point_2 = {}; };