php man page for matrix_mul

Query: matrix_mul

OS: php

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

matrix_mul(3alleg4)						  Allegro manual					       matrix_mul(3alleg4)

NAME
matrix_mul, matrix_mul_f - Multiplies two matrices. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void matrix_mul(const MATRIX *m1, const MATRIX *m2, MATRIX *out); void matrix_mul_f(const MATRIX_f *m1, const MATRIX_f *m2, MATRIX_f *out);
DESCRIPTION
Multiplies two matrices, storing the result in out (this may be a duplicate of one of the input matrices, but it is faster when the inputs and output are all different). The resulting matrix will have the same effect as the combination of m1 and m2, ie. when applied to a point p, (p * out) = ((p * m1) * m2). Any number of transformations can be concatenated in this way. Note that matrix multiplication is not com- mutative, ie. matrix_mul(m1, m2) != matrix_mul(m2, m1).
SEE ALSO
apply_matrix(3alleg4), exquat(3alleg4), exscn3d(3alleg4) Allegro version 4.4.2 matrix_mul(3alleg4)
Related Man Pages
get_rotation_matrix(3alleg4) - suse
exscn3d(3alleg4) - osx
exscn3d(3alleg4) - php
exscn3d(3alleg4) - netbsd
exscn3d(3alleg4) - v7
Similar Topics in the Unix Linux Community
Matrix multiplication with different files
Multiplication of two matrices
Matrix multiplication
Matrix multiplication