orthonormalize.hpp
00001 
00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
00004 // Created : 2005-12-21
00005 // Updated : 2006-11-13
00006 // Licence : This source is under MIT License
00007 // File    : glm/gtx/orthonormalize.hpp
00009 // Dependency:
00010 // - GLM core
00012 
00013 #ifndef glm_gtx_orthonormalize
00014 #define glm_gtx_orthonormalize
00015 
00016 // Dependency:
00017 #include "../glm.hpp"
00018 
00019 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00020 #       pragma message("GLM: GLM_GTX_orthonormalize extension included")
00021 #endif
00022 
00023 namespace glm{
00024 namespace gtx{
00025 namespace orthonormalize 
00026 {
00029 
00032         template <typename T> 
00033         detail::tmat3x3<T> orthonormalize(
00034                 const detail::tmat3x3<T>& m);
00035                 
00038         template <typename T> 
00039         detail::tvec3<T> orthonormalize(
00040                 const detail::tvec3<T>& x, 
00041                 const detail::tvec3<T>& y);
00042 
00044 }//namespace orthonormalize
00045 }//namespace gtx
00046 }//namespace glm
00047 
00048 #include "orthonormalize.inl"
00049 
00050 namespace glm{using namespace gtx::orthonormalize;}
00051 
00052 #endif//glm_gtx_orthonormalize