apply_matrix - Man Page

Multiplies a point by a transformation matrix. Allegro game programming library.

Synopsis

#include <allegro.h>

void apply_matrix(const MATRIX *m, fixed x, y, z, *xout, *yout, *zout);

void apply_matrix_f(const MATRIX_f *m, float x, y, z, *xout, *yout, *zout);

Description

Multiplies the point (x, y, z) by the transformation matrix m, storing  the result in (*xout, *yout, *zout).

See Also

matrix_mul(3), ex12bit(3), ex3d(3), exstars(3)

Referenced By

ex12bit(3), ex3d(3), excamera(3), exquat(3), exscn3d(3), exstars(3), exzbuf(3), get_align_matrix(3), get_camera_matrix(3), get_rotation_matrix(3), get_scaling_matrix(3), get_transformation_matrix(3), get_translation_matrix(3), get_vector_rotation_matrix(3), get_x_rotate_matrix(3), get_y_rotate_matrix(3), get_z_rotate_matrix(3), matrix_mul(3).

The man page apply_matrix_f(3) is an alias of apply_matrix(3).

version 4.4.3 Allegro manual