.\" Automatically generated by Pandoc 3.1.12.1 .\" .TH "al_transpose_transform" "3" "" "Allegro reference manual" "" .SH NAME al_transpose_transform \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] void al_transpose_transform(ALLEGRO_TRANSFORM *trans) .EE .SH DESCRIPTION Transposes the matrix of the given transform. This can be used for inversing a rotation transform. For example: .IP .EX al_build_camera_transform(camera, 0, 0, 0, x, y, z, xu, yu, zu) al_copy_transform(inverse, camera) al_transpose_transform(camera) \f[I]// Now \[dq]inverse\[dq] will be a transformation rotating in the opposite\f[R] \f[I]// direction from \[dq]camera\[dq]. Note that this only works if the camera\f[R] \f[I]// position is 0/0/0 as in the example.\f[R] .EE .SH SINCE 5.2.5