0.9.9 API documenation
matrix_inverse.hpp
Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../detail/setup.hpp"
17 #include "../matrix.hpp"
18 #include "../mat2x2.hpp"
19 #include "../mat3x3.hpp"
20 #include "../mat4x4.hpp"
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTC_matrix_inverse extension included")
24 #endif
25 
26 namespace glm
27 {
30 
36  template<typename genType>
37  GLM_FUNC_DECL genType affineInverse(genType const& m);
38 
44  template<typename genType>
45  GLM_FUNC_DECL genType inverseTranspose(genType const& m);
46 
48 }//namespace glm
49 
50 #include "matrix_inverse.inl"
GLM_FUNC_DECL genType inverseTranspose(genType const &m)
Compute the inverse transpose of a matrix.
GLM_FUNC_DECL genType affineInverse(genType const &m)
Fast matrix inverse for affine matrix.
Definition: common.hpp:20