pub struct SmoothIntersectionOp<Sdf> {
pub sdf: Sdf,
pub k: f32,
}
Expand description
Compute the blended boolean intersection of two distance fields.
Fields§
§sdf: Sdf
§k: f32
Implementations§
Trait Implementations§
source§impl<Sdf: Clone> Clone for SmoothIntersectionOp<Sdf>
impl<Sdf: Clone> Clone for SmoothIntersectionOp<Sdf>
source§fn clone(&self) -> SmoothIntersectionOp<Sdf>
fn clone(&self) -> SmoothIntersectionOp<Sdf>
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<Sdf: Debug> Debug for SmoothIntersectionOp<Sdf>
impl<Sdf: Debug> Debug for SmoothIntersectionOp<Sdf>
source§impl<Sdf: Default> Default for SmoothIntersectionOp<Sdf>
impl<Sdf: Default> Default for SmoothIntersectionOp<Sdf>
source§fn default() -> SmoothIntersectionOp<Sdf>
fn default() -> SmoothIntersectionOp<Sdf>
Returns the “default value” for a type. Read more
source§impl<Sdf: PartialEq> PartialEq<SmoothIntersectionOp<Sdf>> for SmoothIntersectionOp<Sdf>
impl<Sdf: PartialEq> PartialEq<SmoothIntersectionOp<Sdf>> for SmoothIntersectionOp<Sdf>
source§fn eq(&self, other: &SmoothIntersectionOp<Sdf>) -> bool
fn eq(&self, other: &SmoothIntersectionOp<Sdf>) -> bool
source§impl<Sdf: PartialOrd> PartialOrd<SmoothIntersectionOp<Sdf>> for SmoothIntersectionOp<Sdf>
impl<Sdf: PartialOrd> PartialOrd<SmoothIntersectionOp<Sdf>> for SmoothIntersectionOp<Sdf>
source§fn partial_cmp(&self, other: &SmoothIntersectionOp<Sdf>) -> Option<Ordering>
fn partial_cmp(&self, other: &SmoothIntersectionOp<Sdf>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more