table of contents
apply_matrix(3) | Allegro manual | apply_matrix(3) |
NAME¶
apply_matrix, apply_matrix_f - 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¶
version 4.4.3 | Allegro |