Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
get_align_matrix(3)		 Allegro manual 	     get_align_matrix(3)

NAME
     get_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);

DESCRIPTION
     Rotates  a matrix so that it is aligned along the specified coordinate vec-
     tors (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 ALSO
     apply_matrix(3), get_camera_matrix(3)

Allegro 			  version 4.4.3 	     get_align_matrix(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=get_align_matrix&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help