get_align_matrix(3alleg4) php man page | unix.com

Man Page: get_align_matrix

Operating Environment: php

Section: 3alleg4

get_align_matrix(3alleg4)					  Allegro manual					 get_align_matrix(3alleg4)

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 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 ALSO
apply_matrix(3alleg4), get_camera_matrix(3alleg4) Allegro version 4.4.2 get_align_matrix(3alleg4)
Related Man Pages
get_camera_matrix(3alleg4) - debian
get_rotation_matrix(3alleg4) - debian
get_rotation_matrix(3alleg4) - suse
get_camera_matrix(3alleg4) - v7
get_camera_matrix(3alleg4) - netbsd
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch