Wed, 25 Mar 2020 16:07:20 +0200
added PolygonObject and refactored away a lot of boilerplate
#pragma once #include "object.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; };