pub enum CreasingMethod {
Uniform,
Chaikin,
}Expand description
Method used to subdivide (semi-sharp) crease sharpness values
(Sdc::Options::CreasingMethod).
Variants§
Uniform
Classic Catmull-Clark semi-sharp creasing: a child edge’s sharpness is its parent’s sharpness reduced by one.
Chaikin
Chaikin creasing: sharpness of child edges is additionally averaged with the other sharp edges around the shared vertex, giving smoother decay along a crease of varying sharpness.
Trait Implementations§
Source§impl Clone for CreasingMethod
impl Clone for CreasingMethod
impl Copy for CreasingMethod
Source§impl Debug for CreasingMethod
impl Debug for CreasingMethod
Source§impl Default for CreasingMethod
impl Default for CreasingMethod
impl Eq for CreasingMethod
Source§impl Hash for CreasingMethod
impl Hash for CreasingMethod
Source§impl PartialEq for CreasingMethod
impl PartialEq for CreasingMethod
impl StructuralPartialEq for CreasingMethod
Auto Trait Implementations§
impl Forget for CreasingMethod
impl Freeze for CreasingMethod
impl Move for CreasingMethod
impl RefUnwindSafe for CreasingMethod
impl Send for CreasingMethod
impl Sync for CreasingMethod
impl Unpin for CreasingMethod
impl UnsafeUnpin for CreasingMethod
impl UnwindSafe for CreasingMethod
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