![]() |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 #ifndef GLM_GTX_normalize_dot 00040 #define GLM_GTX_normalize_dot GLM_VERSION 00041 00042 // Dependency: 00043 #include "../glm.hpp" 00044 #include "../gtx/fast_square_root.hpp" 00045 00046 #if(defined(GLM_MESSAGES) && !defined(glm_ext)) 00047 # pragma message("GLM: GLM_GTX_normalize_dot extension included") 00048 #endif 00049 00050 namespace glm 00051 { 00054 00058 template <typename genType> 00059 typename genType::value_type normalizeDot( 00060 genType const & x, 00061 genType const & y); 00062 00066 template <typename genType> 00067 typename genType::value_type fastNormalizeDot( 00068 genType const & x, 00069 genType const & y); 00070 00072 }//namespace glm 00073 00074 #include "normalize_dot.inl" 00075 00076 #endif//GLM_GTX_normalize_dot
1.7.3