Struct node_t¶
Defined in File bvh8w_node.hpp
Struct Documentation¶
-
struct node_t¶
8 AABBs and 8 31-bit pointers + 1-bit leaf flag.
Public Members
-
std::int32_t child_ptrs[aabbs_per_node] = {0, 0, 0, 0, 0, 0, 0, 0}¶
Child pointers:
0 - empty
>0 - child node ptr
<0 - leaf node ptr
-
std::uint32_t tris_start¶
-
std::uint32_t tris_count = 0¶
-
std::int32_t child_ptrs[aabbs_per_node] = {0, 0, 0, 0, 0, 0, 0, 0}¶