Struct rust_gpu_sdf::operators::axial_reflect::AxialReflectOp
source · pub struct AxialReflectOp<const AXIS: usize>;
Expand description
Cheaply reflect a distance field about X / Y / Z using a const axis bitmask. NOTE: Will produce a bound unless any geometry crossing the reflecting planes is already a field w.r.t. its reflection.
Trait Implementations§
source§impl<const AXIS: usize> Clone for AxialReflectOp<AXIS>
impl<const AXIS: usize> Clone for AxialReflectOp<AXIS>
source§fn clone(&self) -> AxialReflectOp<AXIS>
fn clone(&self) -> AxialReflectOp<AXIS>
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<const AXIS: usize> Debug for AxialReflectOp<AXIS>
impl<const AXIS: usize> Debug for AxialReflectOp<AXIS>
source§impl<const AXIS: usize> Default for AxialReflectOp<AXIS>
impl<const AXIS: usize> Default for AxialReflectOp<AXIS>
source§fn default() -> AxialReflectOp<AXIS>
fn default() -> AxialReflectOp<AXIS>
Returns the “default value” for a type. Read more