Macaw OS C reference

Function newpivot

#include <macaw3d.h>
int newpivot(void);

Makes an empty, invisible thing. Parent other things to it with parent3d so they move and turn together.

Parameters

It takes nothing.

Returns int

The new pivot's number.

In Shapes, terrain and models, with newcube, newsphere, newcylinder, newcone, newplane, newterrain, newterrainfn, newmesh, newmodel, newsprite.