pub struct PyramidFootprint {
pub level: u32,
pub columns: (u32, u32),
pub rows: (u32, u32),
}Expand description
Where occluded reads the pyramid for a box, before it compares anything:
the level and the inclusive texel range.
Public so a test can say which texels decided a verdict rather than only what the verdict was.
Fields§
§level: u32The level read, from 1.
columns: (u32, u32)The first and last texel column read.
rows: (u32, u32)The first and last texel row read.
Trait Implementations§
Source§impl Clone for PyramidFootprint
impl Clone for PyramidFootprint
impl Copy for PyramidFootprint
Source§impl Debug for PyramidFootprint
impl Debug for PyramidFootprint
impl Eq for PyramidFootprint
Source§impl PartialEq for PyramidFootprint
impl PartialEq for PyramidFootprint
impl StructuralPartialEq for PyramidFootprint
Auto Trait Implementations§
impl Forget for PyramidFootprint
impl Freeze for PyramidFootprint
impl Move for PyramidFootprint
impl RefUnwindSafe for PyramidFootprint
impl Send for PyramidFootprint
impl Sync for PyramidFootprint
impl Unpin for PyramidFootprint
impl UnsafeUnpin for PyramidFootprint
impl UnwindSafe for PyramidFootprint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more