pub enum SurfaceFacing {
AgainstNormal,
WithNormal,
}Expand description
Orientation of a surface crossing relative to the field’s local z axis.
This is a geometric fact about winding, not a claim that a facet is a floor, a ceiling, or anything walkable. NOT-A-VERDICT
Variants§
AgainstNormal
The triangle normal opposes the sampling direction (an entering crossing).
WithNormal
The triangle normal agrees with the sampling direction (an exiting crossing).
Trait Implementations§
Source§impl Clone for SurfaceFacing
impl Clone for SurfaceFacing
Source§fn clone(&self) -> SurfaceFacing
fn clone(&self) -> SurfaceFacing
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SurfaceFacing
impl Debug for SurfaceFacing
Source§impl Hash for SurfaceFacing
impl Hash for SurfaceFacing
Source§impl Ord for SurfaceFacing
impl Ord for SurfaceFacing
Source§fn cmp(&self, other: &SurfaceFacing) -> Ordering
fn cmp(&self, other: &SurfaceFacing) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SurfaceFacing
impl PartialEq for SurfaceFacing
Source§impl PartialOrd for SurfaceFacing
impl PartialOrd for SurfaceFacing
impl Copy for SurfaceFacing
impl Eq for SurfaceFacing
impl StructuralPartialEq for SurfaceFacing
Auto Trait Implementations§
impl Freeze for SurfaceFacing
impl RefUnwindSafe for SurfaceFacing
impl Send for SurfaceFacing
impl Sync for SurfaceFacing
impl Unpin for SurfaceFacing
impl UnwindSafe for SurfaceFacing
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