Query: get_align_matrix
OS: suse
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
get_align_matrix(3alleg4) Allegro manual get_align_matrix(3alleg4)NAMEget_align_matrix - Rotates a matrix to align it along specified coordinate vectors. Allegro game programming library.SYNOPSIS#include <allegro.h> void get_align_matrix(MATRIX *m, fixed xfront, yfront, zfront, fixed xup, fixed yup, fixed zup);DESCRIPTIONRotates 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.SEE ALSOapply_matrix(3alleg4), get_camera_matrix(3alleg4) Allegro version 4.4.2 get_align_matrix(3alleg4)