Struct rtbvh::BvhNode [−][src]
Fields
bounds: Aabb<i32>
Implementations
impl BvhNode
[src]
impl BvhNode
[src]pub fn new() -> BvhNode
[src]
pub fn intersect(&self, ray: &Ray) -> Option<f32>
[src]
pub fn intersect4(&self, packet: &RayPacket4) -> Option<[f32; 4]>
[src]
pub fn set_left_first(&mut self, left_first: Option<u32>)
[src]
pub fn with_left_first(self, left_first: Option<u32>) -> Self
[src]
pub fn get_left_first(&self) -> Option<u32>
[src]
pub fn get_left_first_unchecked(&self) -> i32
[src]
pub fn set_count(&mut self, count: Option<u32>)
[src]
pub fn with_count(self, count: Option<u32>) -> Self
[src]
pub fn get_count(&self) -> Option<u32>
[src]
pub fn get_count_unchecked(&self) -> i32
[src]
pub fn has_children(&self) -> bool
[src]
pub fn is_leaf(&self) -> bool
[src]
pub fn is_valid(&self) -> bool
[src]
Trait Implementations
impl<'de> Deserialize<'de> for BvhNode
[src]
impl<'de> Deserialize<'de> for BvhNode
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for BvhNode
impl RefUnwindSafe for BvhNode
impl UnwindSafe for BvhNode
impl UnwindSafe for BvhNode