Macaw OS C reference

Function render

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

Draws the whole scene through a camera, into the window (or the picture you're drawing into). Call it in _draw.

Parameters

cameraint
The camera's number. 0: the first camera you made.

In The scene, with updateworld, collisions, resetcollisions, pick, ambient, clearworld.