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
Next revision
Previous revision
design_guide_polygon [2018/02/18 08:03]
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 14: Line 17:
 </​code>​ </​code>​
  
-Defaults: +The CSG library functions can also be used. //NOTEDeprecated in the V2 API//
-  * empty+
  
 <code javascript>​ <code javascript>​
 let p3 = CAG.fromPoints([ [0,​0],​[5,​0],​[3,​5],​[0,​5] ]) let p3 = CAG.fromPoints([ [0,​0],​[5,​0],​[3,​5],​[0,​5] ])
 </​code>​ </​code>​