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 Quadrilateral; } class ldraw::Quadrilateral : public PolygonObject<4> { public: using PolygonObject<4>::PolygonObject; QString textRepresentation() const override; void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override; void invert() override; };