Macaw OS C reference

Function watercamera

#include <macawlevel.h>
void watercamera(const levelcam *cam);

Points the graphics chip's camera the same way as camera3d, so gpu_ drawing in a reflection lines up with the level. It also makes clockwise triangles the front ones.

Parameters

camconst levelcam *
The camera to match, a levelcam.

In Water, with watercount, newwater, waterinfo, waterreflect, waterdraw, waterbake, waterbaked, waterreflections.