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).

RELATED TO apply_matrix…

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