From 6f67371bb1b46579ae837d0e0c61ac1b291be743 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 13 Jan 2018 07:51:33 +0500 Subject: Directory renamed --- external/include/glm/gtx/orthonormalize.hpp | 45 +++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 external/include/glm/gtx/orthonormalize.hpp (limited to 'external/include/glm/gtx/orthonormalize.hpp') diff --git a/external/include/glm/gtx/orthonormalize.hpp b/external/include/glm/gtx/orthonormalize.hpp new file mode 100644 index 0000000..4bea449 --- /dev/null +++ b/external/include/glm/gtx/orthonormalize.hpp @@ -0,0 +1,45 @@ +/// @ref gtx_orthonormalize +/// @file glm/gtx/orthonormalize.hpp +/// +/// @see core (dependence) +/// @see gtx_extented_min_max (dependence) +/// +/// @defgroup gtx_orthonormalize GLM_GTX_orthonormalize +/// @ingroup gtx +/// +/// @brief Orthonormalize matrices. +/// +/// need to be included to use these functionalities. + +#pragma once + +// Dependency: +#include "../vec3.hpp" +#include "../mat3x3.hpp" +#include "../geometric.hpp" + +#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED) +# pragma message("GLM: GLM_GTX_orthonormalize extension included") +#endif + +namespace glm +{ + /// @addtogroup gtx_orthonormalize + /// @{ + + /// Returns the orthonormalized matrix of m. + /// + /// @see gtx_orthonormalize + template + GLM_FUNC_DECL tmat3x3 orthonormalize(tmat3x3 const & m); + + /// Orthonormalizes x according y. + /// + /// @see gtx_orthonormalize + template + GLM_FUNC_DECL tvec3 orthonormalize(tvec3 const & x, tvec3 const & y); + + /// @} +}//namespace glm + +#include "orthonormalize.inl" -- cgit v1.2.3