al_rotate_transform_3d − Allegro 5 API
#include <allegro5/allegro.h> void al_rotate_transform_3d(ALLEGRO_TRANSFORM *trans, float x, float y, float z, float angle)
Combines the given transformation with a transformation which rotates coordinates around the given vector by the given angle in radians.
5.1.3