# Differences

This shows you the differences between two versions of the page.

 quick_reference_shapes [2018/01/27 05:44]z3dev quick_reference_shapes [2018/01/28 07:49]z3dev Both sides previous revision Previous revision 2018/02/22 19:01 kaosat-dev 2018/01/28 07:49 z3dev 2018/01/28 07:49 z3dev 2018/01/27 05:44 z3dev 2018/01/27 05:43 z3dev created Next revision Previous revision 2018/02/22 19:01 kaosat-dev 2018/01/28 07:49 z3dev 2018/01/28 07:49 z3dev 2018/01/27 05:44 z3dev 2018/01/27 05:43 z3dev created Last revision Both sides next revision Line 11: Line 11: | ::: | var cylinder = CSG.roundedCylinder();​ **/* start: [0,-1,0], end: [0,1,0], radius: 1, resolution: 12 */**  | | ::: | var cylinder = CSG.roundedCylinder();​ **/* start: [0,-1,0], end: [0,1,0], radius: 1, resolution: 12 */**  | | ::: | var cylinder = CSG.roundedCylinder({start:​ [10,11,12], end: [13,14,15], radius: 16, resolution: 6});  | | ::: | var cylinder = CSG.roundedCylinder({start:​ [10,11,12], end: [13,14,15], radius: 16, resolution: 6});  | + | var ellipse = CAG.ellipse({center:​ [5,5], radius: [10,​20],​resolution:​ 72}); | var cylinder = CSG.cylinderElliptic({start:​ [0,​-10,​0],​end:​ [0,​10,​0],​radiusStart:​ [10,​5],​radiusEnd:​ [5,​2.5],​resolution:​ 16}); | | var cag = CAG.fromPoints([ [0,​0],​[5,​0],​[3,​5],​[0,​5] ]); **/* polygon with 3+ points */**  | var csg = CSG.fromPolygons([polygon,​ ...]); ​ | | var cag = CAG.fromPoints([ [0,​0],​[5,​0],​[3,​5],​[0,​5] ]); **/* polygon with 3+ points */**  | var csg = CSG.fromPolygons([polygon,​ ...]); ​ | | var cag = CAG.fromSides([side,​...]);​ **/* polygon with 1+ sides */**  | ::: | | var cag = CAG.fromSides([side,​...]);​ **/* polygon with 1+ sides */**  | ::: |