Struct rtbvh::BvhNode[][src]

#[repr(C)]
pub struct BvhNode { pub bounds: Aabb<i32>, }

Fields

bounds: Aabb<i32>

Implementations

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 Clone for BvhNode[src]

impl Debug for BvhNode[src]

impl Default for BvhNode[src]

impl<'de> Deserialize<'de> for BvhNode[src]

impl Display for BvhNode[src]

impl Serialize for BvhNode[src]

Auto Trait Implementations

impl RefUnwindSafe for BvhNode

impl Send for BvhNode

impl Sync for BvhNode

impl Unpin for BvhNode

impl UnwindSafe for BvhNode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.