Macro scad_tree::minkowski

source ·
macro_rules! minkowski {
    ($convexity:expr, $($child:expr);+;) => { ... };
    ($($child:expr);+;) => { ... };
}
Expand description

Minkowski sum.

#params

convexity: The number of outside edges a ray might encounter when passing through the object.

children: A list of Scad objects separated and ending with a semicolon.

expansion: A Scad struct literal.

#patterns

minkowski!(‘children: Scad’;);

minkowski!(‘convexity: u64’, ‘children: Scad’;);