get_vector_rotation_matrix - Man Page

Constructs X, Y, Z rotation matrices with an angle. Allegro game programming library.

Synopsis

#include <allegro.h>

void get_vector_rotation_matrix(MATRIX *m, fixed x, y, z, fixed a);

void get_vector_rotation_matrix_f(MATRIX_f *m, float x, y, z, float a);

Description

Constructs a transformation matrix which will rotate points around the  specified x,y,z vector by the specified angle (given in binary, 256  degrees to a circle format).

See Also

apply_matrix(3), get_rotation_matrix(3), get_align_matrix(3), excamera(3)

Referenced By

excamera(3), get_rotation_matrix(3).

The man page get_vector_rotation_matrix_f(3) is an alias of get_vector_rotation_matrix(3).

version 4.4.3 Allegro manual