Homepage > Man Pages > Category > Subroutines
Homepage > Man Pages > Name > A

apply_matrix

man page of apply_matrix

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

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

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

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 42.88ms.

wippsaege.name | plr.li | dfptutorial.com