summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/orthonormalize.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--external/include/glm/gtx/orthonormalize.hpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/external/include/glm/gtx/orthonormalize.hpp b/external/include/glm/gtx/orthonormalize.hpp
index 4bea449..48b157f 100644
--- a/external/include/glm/gtx/orthonormalize.hpp
+++ b/external/include/glm/gtx/orthonormalize.hpp
@@ -7,9 +7,9 @@
/// @defgroup gtx_orthonormalize GLM_GTX_orthonormalize
/// @ingroup gtx
///
-/// @brief Orthonormalize matrices.
+/// Include <glm/gtx/orthonormalize.hpp> to use the features of this extension.
///
-/// <glm/gtx/orthonormalize.hpp> need to be included to use these functionalities.
+/// Orthonormalize matrices.
#pragma once
@@ -18,6 +18,10 @@
#include "../mat3x3.hpp"
#include "../geometric.hpp"
+#ifndef GLM_ENABLE_EXPERIMENTAL
+# error "GLM: GLM_GTX_orthonormalize is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
+#endif
+
#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_orthonormalize extension included")
#endif
@@ -30,14 +34,14 @@ namespace glm
/// Returns the orthonormalized matrix of m.
///
/// @see gtx_orthonormalize
- template <typename T, precision P>
- GLM_FUNC_DECL tmat3x3<T, P> orthonormalize(tmat3x3<T, P> const & m);
-
+ template<typename T, qualifier Q>
+ GLM_FUNC_DECL mat<3, 3, T, Q> orthonormalize(mat<3, 3, T, Q> const& m);
+
/// Orthonormalizes x according y.
///
/// @see gtx_orthonormalize
- template <typename T, precision P>
- GLM_FUNC_DECL tvec3<T, P> orthonormalize(tvec3<T, P> const & x, tvec3<T, P> const & y);
+ template<typename T, qualifier Q>
+ GLM_FUNC_DECL vec<3, T, Q> orthonormalize(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
/// @}
}//namespace glm