This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
quick_reference_transforms [2018/01/28 07:52] z3dev |
quick_reference_transforms [2018/03/15 23:58] z3dev |
||
---|---|---|---|
Line 8: | Line 8: | ||
| 2Dshape = 2Dshape.rotateEulerAngles(alpha, beta, gamma, position); | 3Dshape = 3Dshape.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('x','y'); **/* center X & Y axis */** | 3Dshape = 3Dshape.center('x','y','z'); **/* 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.mirroredX(); | 3Dshape = 3Dshape.mirroredX(); | | | 2Dshape = 2Dshape.mirroredX(); | 3Dshape = 3Dshape.mirroredX(); | | ||
| 2Dshape = 2Dshape.mirroredY(); | 3Dshape = 3Dshape.mirroredY(); | | | 2Dshape = 2Dshape.mirroredY(); | 3Dshape = 3Dshape.mirroredY(); | |