You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
588 B
18 lines
588 B
#pragma once
|
|
|
|
#include <vector>
|
|
#include <stack>
|
|
|
|
#include <internal_primitive_desc.hpp>
|
|
|
|
#include "blobtree.h"
|
|
#include "internal_structs.hpp"
|
|
|
|
struct blobtree_t {
|
|
std::vector<node_t, tbb::tbb_allocator<node_t>> nodes{};
|
|
std::vector<uint32_t, tbb::tbb_allocator<uint32_t>> leaf_index{};
|
|
};
|
|
|
|
extern std::vector<blobtree_t, tbb::tbb_allocator<blobtree_t>> structures;
|
|
extern std::vector<primitive_node_t, tbb::tbb_allocator<primitive_node_t>> primitives;
|
|
extern std::stack<uint32_t, std::deque<uint32_t, tbb::tbb_allocator<uint32_t>>> free_structure_list;
|