.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_transpose_transform" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_transpose_transform - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_transpose_transform(ALLEGRO_TRANSFORM *trans) \f[R] .fi .SH DESCRIPTION .PP Transposes the matrix of the given transform. This can be used for inversing a rotation transform. For example: .IP .nf \f[C] al_build_camera_transform(camera, 0, 0, 0, x, y, z, xu, yu, zu) al_copy_transform(inverse, camera) al_transpose_transform(camera) // Now \[dq]inverse\[dq] will be a transformation rotating in the opposite // direction from \[dq]camera\[dq]. Note that this only works if the camera // position is 0/0/0 as in the example. \f[R] .fi .SH SINCE .PP 5.2.5