/// @ref core /// @file glm/detail/func_matrix_simd.inl #include "type_mat4x4.hpp" #include "func_geometric.hpp" #include "../simd/matrix.h" namespace glm{ namespace detail { # if GLM_ARCH & GLM_ARCH_SSE2_BIT template struct compute_inverse { GLM_FUNC_QUALIFIER static tmat4x4 call(tmat4x4 const& m) { tmat4x4 Result(uninitialize); glm_f32m4_inv(*reinterpret_cast<__m128 const(*)[4]>(&m[0].data), *reinterpret_cast<__m128(*)[4]>(&Result[0].data)); return Result; } }; # endif }//namespace detail }//namespace glm