#define CENTER_OF_TOP_OBJECT 1
#define CENTER_OF_TREE 2
#define CENTER_AS_GIVEN 3
Move the object and all its descendants to a new location. center_flag can be one of the two: CENTER_OF_TOP_OBJECT or CENTER_OF_TREE
If CENTER_OF_TREE is given then after calling this function the center of the tree will be in the given new location.
If CENTER_OF_TOP_OBJECT then after calling this function the center of the top object will be in the given new location.
|