Sat, 05 Mar 2022 13:38:22 +0200
Render draw tool preview as a line when we only have 2 points
#pragma once #include "polygonobject.h" namespace ldraw { class Edge; } class ldraw::Edge : public PolygonObject<2> { public: using PolygonObject::PolygonObject; QString textRepresentation() const override; void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override; Type typeIdentifier() const override; QString toLDrawCode() const override; QString iconName() const override; };