Function position3d
#include <macaw3d.h>void position3d(int e, double x, double y, double z, int global);
Puts a thing at a place. If it has a parent, the place is measured from the parent unless global is 1.
Parameters
eint- The thing's number.
xdouble- Where it goes across, in world units.
ydouble- How high it goes.
zdouble- Where it goes along the third direction, forward into the scene.
globalint- 1 to give a place in the world even if it has a parent, 0 to measure from its parent.
In What every thing can do, with move3d, translate3d, rotate3d, turn3d, point3d, pointat3d, scale3d, parent3d, pos3d, forward3d, up3d, dist3d, hide3d, show3d, visible3d, texture3d, color3d, fullbright3d, twosided3d, free3d, height3d, collide3d, hitcount3d, gethit3d, pickable3d.