macro_rules! mirror { (v=[$x:expr, $y:expr, $z:expr], $($child:expr);+;) => { ... }; ([$x:expr, $y:expr, $z:expr], $($child:expr);+;) => { ... }; }
Expand description
Mirror object(s).
#params
v: Normal of the mirror plane.
children: A list of Scad objects separated and ending with a semicolon.
expansion: A Scad struct literal.
#patterns
mirror!([‘x: f64’, ‘y: f64’, ‘z: f64’], ‘children: Scad’;);
mirror!(v=[‘x: f64’, ‘y: f64’, ‘z: f64’], ‘children: Scad’;);