Module bvh::bvh[][src]

Expand description

This module defines a BVH.

Structs

The BVH data structure. Contains the list of BVHNodes.

Iterator to traverse a BVH without memory allocations

Enums

The BVHNode enum that describes a node in a BVH. It’s either a leaf node and references a shape (by holding its index) or a regular node that has two child nodes. The non-leaf node stores the AABBs of its children.