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

FreeBSD Manual Pages

  
 
  

home | help
al_transpose_transform(3)   Library Functions Manual   al_transpose_transform(3)

NAME
     al_transpose_transform - Allegro 5 API

SYNOPSIS
	    #include <allegro5/allegro.h>

	    void al_transpose_transform(ALLEGRO_TRANSFORM *trans)

DESCRIPTION
     Transposes the matrix of the given transform.  This can be used for invers-
     ing a rotation transform.	For example:

	    al_build_camera_transform(camera, 0, 0, 0, x, y, z, xu, yu, zu)
	    al_copy_transform(inverse, camera)
	    al_transpose_transform(camera)
	    // Now "inverse" will be a transformation rotating in the opposite
	    // direction from "camera". Note that this only works if the camera
	    // position is 0/0/0 as in the example.

SINCE
     5.2.5

Allegro reference manual			       al_transpose_transform(3)

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

home | help