Struct rust_gpu_sdf::operators::stretch::StretchDistOp
source · pub struct StretchDistOp<Dim> {
pub dir: Dim,
pub dist: f32,
}
Expand description
Extrude a shape by an arbitrary distance along an arbitrary axis, preserving exterior geometry as caps.
Fields§
§dir: Dim
§dist: f32
Implementations§
Trait Implementations§
source§impl<Dim: Clone> Clone for StretchDistOp<Dim>
impl<Dim: Clone> Clone for StretchDistOp<Dim>
source§fn clone(&self) -> StretchDistOp<Dim>
fn clone(&self) -> StretchDistOp<Dim>
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 more