src/types.h

changeset 540
0334789cb4d7
parent 539
72ad83a67165
child 541
0e38beeb050a
equal deleted inserted replaced
539:72ad83a67165 540:0334789cb4d7
294 // 294 //
295 // The bounding box is the box that encompasses a given set of objects. 295 // The bounding box is the box that encompasses a given set of objects.
296 // v0 is the minimum vertex, v1 is the maximum vertex. 296 // v0 is the minimum vertex, v1 is the maximum vertex.
297 // ============================================================================= 297 // =============================================================================
298 class LDBoundingBox 298 class LDBoundingBox
299 { PROPERTY (private, bool, Empty, BOOL_OPS, NO_CB) 299 { PROPERTY (private, bool, Empty, BOOL_OPS, STOCK_WRITE)
300 PROPERTY (private, vertex, Vertex0, NO_OPS, NO_CB) 300 PROPERTY (private, vertex, Vertex0, NO_OPS, STOCK_WRITE)
301 PROPERTY (private, vertex, Vertex1, NO_OPS, NO_CB) 301 PROPERTY (private, vertex, Vertex1, NO_OPS, STOCK_WRITE)
302 302
303 public: 303 public:
304 LDBoundingBox(); 304 LDBoundingBox();
305 void reset(); 305 void reset();
306 void calculate(); 306 void calculate();

mercurial