Macaw OS C reference

Function camera3d

#include <macaw3d.h>
void camera3d(
    double x,
    double y,
    double z,
    double yaw,
    double pitch,
    double fov
);

Sets where the camera for meshes is and which way it looks.

Parameters

xdouble
The camera's position across, in world units.
ydouble
The camera's height.
zdouble
The camera's position along z.
yawdouble
Which way round it looks, in degrees. More turns it right.
pitchdouble
How far it looks up, in degrees (unlike things, positive is up).
fovdouble
The angle it sees across the picture's width, in degrees, kept to 10 to 170. 0 or less: 90.

In Meshes you draw yourself, with clear3d, light3d.