master
ブランチ master
VulkanExample / dep / include / glm / ext / matrix_common.hpp
1.1 KB、39行 生 Blame 履歴
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
13#pragma once
14
15#include "../detail/qualifier.hpp"
16#include "../detail/_fixes.hpp"
17
18#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19# pragma message("GLM: GLM_EXT_matrix_common extension included")
20#endif
21
22namespace glm
23{
24 /// @addtogroup ext_matrix_common
25 /// @{
26
27 template<length_t C, length_t R, typename T, typename U, qualifier Q>
28 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);
29
30 template<length_t C, length_t R, typename T, typename U, qualifier Q>
31 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);
32
33 template <length_t C, length_t R, typename T, qualifier Q>
34 GLM_FUNC_DECL GLM_CONSTEXPR mat<C, R, T, Q> abs(mat<C, R, T, Q> const& x);
35
36 /// @}
37}//namespace glm
38
39#include "matrix_common.inl"