Module The scene
#include <macaw3d.h>
Functions
- render
- Draws the whole scene through a camera, into the window (or the picture you're drawing into).
- updateworld
- Works out collisions for everything with a collision type: things that ran into something are pushed back out, and their hits are noted.
- collisions
- Makes things of one collision type bump into things of another.
- resetcollisions
- Forgets where a thing was.
- pick
- Finds the nearest pickable thing along a ray, such as a line of sight or a shot.
- ambient
- Sets how bright the light is everywhere in the scene, even where no light shines.
- clearworld
- Throws the whole scene away.