src/ldtypes.cpp

changeset 506
525f6c48db83
parent 504
6a1fa662bfc1
child 516
d3373bc7ca3b
--- a/src/ldtypes.cpp	Wed Oct 16 17:11:16 2013 +0300
+++ b/src/ldtypes.cpp	Wed Oct 16 19:34:12 2013 +0300
@@ -251,6 +251,15 @@
 
 // =============================================================================
 // -----------------------------------------------------------------------------
+LDQuad::LDQuad (const vertex& v0, const vertex& v1, const vertex& v2, const vertex& v3)
+{	setVertex (0, v0);
+	setVertex (1, v1);
+	setVertex (2, v2);
+	setVertex (3, v3);
+}
+
+// =============================================================================
+// -----------------------------------------------------------------------------
 LDObject::~LDObject()
 {	// Remove this object from the selection array if it is there.
 	g_win->sel().removeOne (this);

mercurial