DOKK / manpages / debian 12 / allegro4-doc / MATRIX.3alleg4.en
MATRIX(3alleg4) Allegro manual MATRIX(3alleg4)

MATRIX - Fixed point matrix structure. Allegro game programming library.

#include <allegro.h>

typedef struct MATRIX


fixed v[3][3]; - 3x3 scaling and rotation component
fixed t[3]; - x/y/z translation component

Fixed point matrix structure. Read chapter "3D math routines" for a description on how to obtain/use this structure.

MATRIX_f(3alleg4), ex12bit(3alleg4), ex3d(3alleg4), exstars(3alleg4)

version 4.4.3 Allegro