Macaw OS C reference

Function newcamera

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

Makes a camera to look through. It starts at 0, 0, 0 looking along z, sees 80 degrees across and clears the picture to NIGHT. The first camera you make is the one render(0) uses.

Parameters

It takes nothing.

Returns int

The new camera's number.

In Making things, with newlight.