src/linetypes/modelobject.h

changeset 1149
502c866b8512
parent 1148
96cb15a7611f
child 1186
eae8b3bce545
child 1236
861bf8ebb8ec
--- a/src/linetypes/modelobject.h	Tue Feb 14 15:11:33 2017 +0200
+++ b/src/linetypes/modelobject.h	Tue Feb 14 15:21:34 2017 +0200
@@ -258,31 +258,6 @@
 };
 
 /*
- * Represents a single code-4 quadrilateral.
- */
-class LDQuadrilateral : public LDObject
-{
-public:
-	static constexpr LDObjectType SubclassType = LDObjectType::Quadrilateral;
-
-	virtual LDObjectType type() const override
-	{
-		return SubclassType;
-	}
-
-	QString asText() const override;
-	void invert() override;
-	int triangleCount() const override;
-	int numVertices() const override { return 4; }
-	QString typeName() const override { return "quad"; }
-
-protected:
-	friend class Model;
-	LDQuadrilateral (Model* model);
-	LDQuadrilateral (const Vertex& v1, const Vertex& v2, const Vertex& v3, const Vertex& v4, Model* model = nullptr);
-};
-
-/*
  * Models a Bézier curve. It is stored as a special comment in the LDraw code file and can be inlined down into line segments.
  */
 class LDBezierCurve : public LDObject

mercurial