Module bvh::flat_bvh[][src]

Expand description

This module exports methods to flatten the BVH and traverse it iteratively.

Structs

A structure of a node of a flat BVH. The structure of the nodes allows for an iterative traversal approach without the necessity to maintain a stack or queue.

Type Definitions

A flat BVH. Represented by a vector of FlatNodes. The FlatBVH is designed for use where a recursive traversal of a data structure is not possible, for example shader programs.