Skip to main content

refit

Function refit 

Source
pub fn refit(node: &mut BvhNode, primitives: &[BvhPrimitive])
Expand description

Refit the bounding boxes of an existing BVH after primitives have moved.

The topology (splits) are preserved; only bounding boxes are recomputed.