1apply_matrix(3)                 Allegro manual                 apply_matrix(3)
2
3
4

NAME

6       apply_matrix,  apply_matrix_f  - Multiplies a point by a transformation
7       matrix. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void apply_matrix(const MATRIX *m, fixed x, y, z, *xout, *yout, *zout);
14
15       void apply_matrix_f(const MATRIX_f *m, float x,  y,  z,  *xout,  *yout,
16       *zout);
17

DESCRIPTION

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

SEE ALSO

24       matrix_mul(3), ex12bit(3), ex3d(3), exstars(3)
25
26
27
28Allegro                          version 4.4.2                 apply_matrix(3)
Impressum