Struct e2rcore::implement::math::bvh::Bvh
[−]
[src]
pub struct Bvh { /* fields omitted */ }implementation of spatial acceleration using bounding volume hierarchy with surface area heuristic
Methods
impl Bvh[src]
Trait Implementations
impl ISpatialAccel for Bvh[src]
fn query_intersect(&self, input: &IBound) -> Result<Vec<u64>, &'static str>[src]
query for a list of objects intersecting with input
fn build_all(&mut self, objs: &[(u64, &IBound)]) -> Result<(), &'static str>[src]
build a acceleration structure with input bounds and object ids