matrix_common.hpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /// @ref ext_matrix_common
  2. /// @file glm/ext/matrix_common.hpp
  3. ///
  4. /// @defgroup ext_matrix_common GLM_EXT_matrix_common
  5. /// @ingroup ext
  6. ///
  7. /// Defines functions for common matrix operations.
  8. ///
  9. /// Include <glm/ext/matrix_common.hpp> to use the features of this extension.
  10. ///
  11. /// @see ext_matrix_common
  12. #pragma once
  13. #include "../detail/qualifier.hpp"
  14. #include "../detail/_fixes.hpp"
  15. #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
  16. # pragma message("GLM: GLM_EXT_matrix_common extension included")
  17. #endif
  18. namespace glm
  19. {
  20. /// @addtogroup ext_matrix_common
  21. /// @{
  22. template<length_t C, length_t R, typename T, typename U, qualifier Q>
  23. GLM_FUNC_DECL mat<C, R, T, Q> mix(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, mat<C, R, U, Q> const& a);
  24. template<length_t C, length_t R, typename T, typename U, qualifier Q>
  25. GLM_FUNC_DECL mat<C, R, T, Q> mix(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, U a);
  26. template <length_t C, length_t R, typename T, qualifier Q>
  27. GLM_FUNC_DECL GLM_CONSTEXPR mat<C, R, T, Q> abs(mat<C, R, T, Q> const& x);
  28. /// @}
  29. }//namespace glm
  30. #include "matrix_common.inl"