.\" Generated by the Allegro makedoc utility .TH get_align_matrix 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME get_align_matrix \- Rotates a matrix to align it along specified coordinate vectors. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void get_align_matrix(MATRIX *m, fixed xfront, yfront, zfront, .B fixed xup, fixed yup, fixed zup); .SH DESCRIPTION Rotates a matrix so that it is aligned along the specified coordinate vectors (they need not be normalized or perpendicular, but the up and front must not be equal). A front vector of 0,0,-1 and up vector of 0,1,0 will return the identity matrix. .SH SEE ALSO .BR apply_matrix (3alleg4), .BR get_camera_matrix (3alleg4)