Macaw OS C reference

Function clear3d

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

Starts a frame of meshes: it clears the depth buffer, and the picture too if you give a colour.

Parameters

colourint
The colour number to clear the picture to. -1: clear only the depth buffer.

In Meshes you draw yourself, with camera3d, light3d.