summaryrefslogtreecommitdiffstats
path: root/deps/include/glm/ext/matrix_common.hpp
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-03-15 16:22:09 +0500
committeruntodesu <kirill@untode.su>2025-03-15 16:22:09 +0500
commit3bf42c6ff3805a0d42bbc661794a95ff31bedc26 (patch)
tree05049955847504808d6bed2bb7b155f8b03807bb /deps/include/glm/ext/matrix_common.hpp
parent02294547dcde0d4ad76e229106702261e9f10a51 (diff)
downloadvoxelius-3bf42c6ff3805a0d42bbc661794a95ff31bedc26.tar.bz2
voxelius-3bf42c6ff3805a0d42bbc661794a95ff31bedc26.zip
Add whatever I was working on for the last month
Diffstat (limited to 'deps/include/glm/ext/matrix_common.hpp')
-rw-r--r--deps/include/glm/ext/matrix_common.hpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/deps/include/glm/ext/matrix_common.hpp b/deps/include/glm/ext/matrix_common.hpp
new file mode 100644
index 0000000..6bb3d06
--- /dev/null
+++ b/deps/include/glm/ext/matrix_common.hpp
@@ -0,0 +1,39 @@
+/// @ref ext_matrix_common
+/// @file glm/ext/matrix_common.hpp
+///
+/// @defgroup ext_matrix_common GLM_EXT_matrix_common
+/// @ingroup ext
+///
+/// Defines functions for common matrix operations.
+///
+/// Include <glm/ext/matrix_common.hpp> to use the features of this extension.
+///
+/// @see ext_matrix_common
+
+#pragma once
+
+#include "../detail/qualifier.hpp"
+#include "../detail/_fixes.hpp"
+
+#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
+# pragma message("GLM: GLM_EXT_matrix_common extension included")
+#endif
+
+namespace glm
+{
+ /// @addtogroup ext_matrix_common
+ /// @{
+
+ template<length_t C, length_t R, typename T, typename U, qualifier Q>
+ 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);
+
+ template<length_t C, length_t R, typename T, typename U, qualifier Q>
+ 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);
+
+ template <length_t C, length_t R, typename T, qualifier Q>
+ GLM_FUNC_DECL GLM_CONSTEXPR mat<C, R, T, Q> abs(mat<C, R, T, Q> const& x);
+
+ /// @}
+}//namespace glm
+
+#include "matrix_common.inl"