Constructor
| 48 | public: |
| 49 | /// Constructor |
| 50 | ShapeAllocator(void) { |
| 51 | Shape::leaf = Shape::allocate(1); |
| 52 | (*Shape::leaf)[0] = Extent(Layout::extent); |
| 53 | Shape::leaf->computeBoundingBox(); |
| 54 | |
| 55 | Shape::hidden = Shape::allocate(2); |
| 56 | (*Shape::hidden)[0] = Extent(Layout::extent); |
| 57 | (*Shape::hidden)[1] = Extent(Layout::extent); |
| 58 | Shape::hidden->computeBoundingBox(); |
| 59 | } |
| 60 | ~ShapeAllocator(void) { |
| 61 | Shape::deallocate(Shape::leaf); |
| 62 | Shape::deallocate(Shape::hidden); |
nothing calls this directly
no test coverage detected