Module bvh::flat_bvh

source ·
Expand description

This module exports methods to flatten the Bvh into a FlatBvh 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 Aliases§

  • 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.