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_center [2018/04/14 16:21]
z3dev
design_guide_center [2018/06/12 14:23] (current)
z3dev
Line 6: Line 6:
  
 <code javascript>​ <code javascript>​
-center(true,​cube(),​sphere()      ​// center the objects across all axes +let obj = sphere(5) 
-center([true,​true,​false],​cube()  ​// center the object across only X and Y axis+obj = center(true,​cube(), ​obj // center the objects across all axes 
 +obj = center([true,​ true, false], ​obj // center the object across only X and Y axis
 </​code>​ </​code>​