Macaw OS C reference

Function freemesh

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

Lets go of a mesh when you've finished with it, so its memory can be used again.

Parameters

meshint
The mesh's number. Don't use it again afterwards.

In Drawing meshes, with billboard3d, drawmesh, drawmeshm, meshtexture, meshsize.