Macaw OS C reference

Function rotate3d

#include <macaw3d.h>
void rotate3d(int e, double yaw, double pitch, double roll);

Turns a thing to face a particular way, whichever way it faced before.

Parameters

eint
The thing's number.
yawdouble
Which way round it faces, in degrees. More turns it to the right.
pitchdouble
How far it tips, in degrees. More tips its front down.
rolldouble
How far it leans to one side, in degrees.

In What every thing can do, with position3d, move3d, translate3d, turn3d, point3d, pointat3d, scale3d, parent3d, pos3d, forward3d, up3d, dist3d, hide3d, show3d, visible3d, texture3d, color3d, fullbright3d, twosided3d, free3d, height3d, collide3d, hitcount3d, gethit3d, pickable3d.