Thu, 03 Mar 2022 11:42:52 +0200
extract polygon cache out of Model
#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; };