User Tools


Differences

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

Link to this comparison view

Both sides previous revision Previous revision
design_guide_polygon [2018/03/19 13:46]
z3dev
design_guide_polygon [2018/03/20 11:54]
z3dev
Line 8: Line 8:
  
 The following show examples of creating polygons from a list of points. The following show examples of creating polygons from a list of points.
 +
 +Defaults:
 +  * empty
  
 <code javascript>​ <code javascript>​
Line 13: Line 16:
 let p2 = polygon({ points: [ [0,​0],​[3,​0],​[3,​3] ] }) let p2 = polygon({ points: [ [0,​0],​[3,​0],​[3,​3] ] })
 </​code>​ </​code>​
- 
-Defaults: 
-  * empty 
  
 The CSG library functions can also be used. //NOTE: Deprecated in the V2 API// The CSG library functions can also be used. //NOTE: Deprecated in the V2 API//