Other keywords in this node include translation, scaleFactor, and center. Since we know that the center of the cube is at (-45, 30, 0) we would add the line: center -45 30 0. The rotation would then occur about the y-axis of the point we specified.
DEF Cube1 Separator { Transform { rotation 0 1 0 .7 } #Transform Translation { translation -45 30 0 } #Translation } #Separator
+ Transformed cube
Next
Table of contents