Trait rtbvh::SpatialTriangle[][src]

pub trait SpatialTriangle {
    fn vertex0(&self) -> Vec3;
fn vertex1(&self) -> Vec3;
fn vertex2(&self) -> Vec3; fn split(&self, axis: usize, position: f32) -> (Aabb<i32>, Aabb<i32>) { ... }
fn intersect(&self, ray: &mut Ray) -> bool { ... }
fn intersect4(
        &self,
        packet: &mut RayPacket4,
        t_min: Vec4
    ) -> Option<[bool; 4]> { ... } }

Required methods

Provided methods

Implementors