al_rotate_transform_3d - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_rotate_transform_3d(ALLEGRO_TRANSFORM *trans,
   float x, float y, float z, float angle)

Description

Combines the given transformation with a transformation which rotates coordinates around the given vector by the given angle in radians.

Note: The vector is assumed to be of unit length (otherwise it will also incur a scale).

Since

5.1.3

Referenced By

al_build_camera_transform(3).

Allegro reference manual