| 286 | struct OctantInMemory : public Octant |
| 287 | { |
| 288 | OctantInMemory(const U32 size) |
| 289 | { |
| 290 | point_size = size; |
| 291 | point_count = 0; |
| 292 | point_capacity = 25000; |
| 293 | |
| 294 | point_buffer = (U8*)malloc_las((size_t)point_capacity * (size_t)point_size); |
| 295 | occupancy.reserve(point_capacity); |
| 296 | }; |
| 297 | |
| 298 | // No copy constructor. We don't want any copy of dynamically allocated U8* point_buffer. |
| 299 | // Desallocation is performed manually with clean() at appropriate places. |
nothing calls this directly
no test coverage detected