|
|
@@ -3,6 +3,7 @@
|
|
|
///
|
|
|
/// @see core (dependence)
|
|
|
/// @see gtx_quaternion (dependence)
|
|
|
+/// @see gtx_component_wise (dependence)
|
|
|
///
|
|
|
/// @defgroup gtx_norm GLM_GTX_norm
|
|
|
/// @ingroup gtx
|
|
|
@@ -16,6 +17,7 @@
|
|
|
// Dependency:
|
|
|
#include "../geometric.hpp"
|
|
|
#include "../gtx/quaternion.hpp"
|
|
|
+#include "../gtx/component_wise.hpp"
|
|
|
|
|
|
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
|
|
|
# ifndef GLM_ENABLE_EXPERIMENTAL
|
|
|
@@ -70,6 +72,16 @@ namespace glm
|
|
|
template<typename T, qualifier Q>
|
|
|
GLM_FUNC_DECL T lxNorm(vec<3, T, Q> const& x, unsigned int Depth);
|
|
|
|
|
|
+ //! Returns the LMax norm between x and y.
|
|
|
+ //! From GLM_GTX_norm extension.
|
|
|
+ template<typename T, qualifier Q>
|
|
|
+ GLM_FUNC_DECL T lMaxNorm(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
|
|
|
+
|
|
|
+ //! Returns the LMax norm of v.
|
|
|
+ //! From GLM_GTX_norm extension.
|
|
|
+ template<typename T, qualifier Q>
|
|
|
+ GLM_FUNC_DECL T lMaxNorm(vec<3, T, Q> const& x);
|
|
|
+
|
|
|
/// @}
|
|
|
}//namespace glm
|
|
|
|