src/ldtypes.cpp

changeset 506
525f6c48db83
parent 504
6a1fa662bfc1
child 516
d3373bc7ca3b
equal deleted inserted replaced
505:a01482cdf8a7 506:525f6c48db83
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

mercurial