Macaw OS C reference

Function scale3d

#include <macaw3d.h>
void scale3d(int e, double sx, double sy, double sz);

Sets a thing's size. 1 is the size it was made at, and shapes start 2 units across.

Parameters

eint
The thing's number.
sxdouble
How much to stretch it across its own x direction (2 is twice as wide).
sydouble
How much to stretch it up its own y direction.
szdouble
How much to stretch it along its own z direction.

In What every thing can do, with position3d, move3d, translate3d, rotate3d, turn3d, point3d, pointat3d, parent3d, pos3d, forward3d, up3d, dist3d, hide3d, show3d, visible3d, texture3d, color3d, fullbright3d, twosided3d, free3d, height3d, collide3d, hitcount3d, gethit3d, pickable3d.