User Tools


Differences

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

Link to this comparison view

Next revision
Previous revision
quick_reference_transforms [2018/01/27 05:58]
z3dev created
quick_reference_transforms [2018/03/15 23:58] (current)
z3dev
Line 5: Line 5:
 | ::: | 3Dshape = 3Dshape.rotateY(-180); ​ | | ::: | 3Dshape = 3Dshape.rotateY(-180); ​ |
 | ::: | 3Dshape = 3Dshape.rotateZ(45); ​ | | ::: | 3Dshape = 3Dshape.rotateZ(45); ​ |
-| 2Dshape = 2Dshape.rotate(center,​ axis, degrees); ​ | 2Dshape ​2Dshape.rotate(center,​ axis, degrees); ​ | +| 2Dshape = 2Dshape.rotate(center,​ axis, degrees); ​ | 3Dshape ​3Dshape.rotate(center,​ axis, degrees); ​ | 
-| 2Dshape = 2Dshape.rotateEulerAngles(alpha,​ beta, gamma, position); ​ | 2Dshape ​2Dshape.rotateEulerAngles(alpha,​ beta, gamma, position); ​ |+| 2Dshape = 2Dshape.rotateEulerAngles(alpha,​ beta, gamma, position); ​ | 3Dshape ​3Dshape.rotateEulerAngles(alpha,​ beta, gamma, position); ​ |
 | 2Dshape = 2Dshape.scale([0.7,​ 0.9]); ​ | 3Dshape = 3Dshape.scale([1,​2,​3]); ​ | | 2Dshape = 2Dshape.scale([0.7,​ 0.9]); ​ | 3Dshape = 3Dshape.scale([1,​2,​3]); ​ |
-| 2Dshape = 2Dshape.center(true);​ **/* center X & Y axis */**  | 3Dshape = 3Dshape.center(true);​ **/* center X & Y & Z axis */**  | +| 2Dshape = 2Dshape.center([true,true]); **/* center X & Y axis */**  | 3Dshape = 3Dshape.center([true,true,true]); **/* center X & Y & Z axis */**  |
-| 2Dshape = 2Dshape.center([true,​false]); ​ | 3Dshape = 3Dshape.center([true,​false,​true]); ​ |+
 | 2Dshape = 2Dshape.mirroredX(); ​ | 3Dshape = 3Dshape.mirroredX(); ​ | | 2Dshape = 2Dshape.mirroredX(); ​ | 3Dshape = 3Dshape.mirroredX(); ​ |
 | 2Dshape = 2Dshape.mirroredY(); ​ | 3Dshape = 3Dshape.mirroredY(); ​ | | 2Dshape = 2Dshape.mirroredY(); ​ | 3Dshape = 3Dshape.mirroredY(); ​ |