9
3

matrix_common.hpp 995 B

123456789101112131415161718192021222324252627282930313233343536
  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_transform 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. /// @}
  27. }//namespace glm
  28. #include "matrix_common.inl"