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
Last revision Both sides next revision
design_guide_union [2018/05/10 14:51]
z3dev
design_guide_union [2018/05/10 14:53]
z3dev
Line 7: Line 7:
 </​code>​ </​code>​
  
 +The CSG library functions can also be used. //NOTE: Deprecated in the V2 API//
  
 <code javascript>​ <code javascript>​
 sphere({r: 1, center:​true}).union(cube({size:​ 1.5, center:​true})); ​ // using CSG objects'​ built in methods sphere({r: 1, center:​true}).union(cube({size:​ 1.5, center:​true})); ​ // using CSG objects'​ built in methods
 </​code>​ </​code>​