pub trait BvhLeafCost {
// Required method
fn cost(&self) -> f32;
}Expand description
Cost associated to a BVH leaf during best-first traversal.
Required Methods§
Implementations on Foreign Types§
Implementors§
impl BvhLeafCost for RayIntersection
Available on crate feature
alloc only.impl BvhLeafCost for ShapeCastHit
Available on crate feature
alloc only.