Module bvh::bvh [] [src]

This module defines a BVH.

Structs

BVH

The BVH data structure. Contains the list of [BVHNode]s.

Enums

BVHNode

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.