249 setVertex (1, v2); |
249 setVertex (1, v2); |
250 } |
250 } |
251 |
251 |
252 // ============================================================================= |
252 // ============================================================================= |
253 // ----------------------------------------------------------------------------- |
253 // ----------------------------------------------------------------------------- |
|
254 LDQuad::LDQuad (const vertex& v0, const vertex& v1, const vertex& v2, const vertex& v3) |
|
255 { setVertex (0, v0); |
|
256 setVertex (1, v1); |
|
257 setVertex (2, v2); |
|
258 setVertex (3, v3); |
|
259 } |
|
260 |
|
261 // ============================================================================= |
|
262 // ----------------------------------------------------------------------------- |
254 LDObject::~LDObject() |
263 LDObject::~LDObject() |
255 { // Remove this object from the selection array if it is there. |
264 { // Remove this object from the selection array if it is there. |
256 g_win->sel().removeOne (this); |
265 g_win->sel().removeOne (this); |
257 |
266 |
258 // Delete the GL lists |
267 // Delete the GL lists |