00001
00002
00004
00005
00006
00007
00009
00010
00011
00013
00014 #ifndef glm_gtx_normalize_dot
00015 #define glm_gtx_normalize_dot
00016
00017
00018 #include "../glm.hpp"
00019 #include "../gtx/fast_square_root.hpp"
00020
00021 namespace glm
00022 {
00023 namespace gtx{
00025 namespace normalize_dot
00026 {
00027 using namespace gtx::fast_square_root;
00028
00032 template <typename genType>
00033 typename genType::value_type normalizeDot(
00034 genType const & x,
00035 genType const & y);
00036
00040 template <typename genType>
00041 typename genType::value_type fastNormalizeDot(
00042 genType const & x,
00043 genType const & y);
00044
00045 }
00046 }
00047 }
00048
00049 #include "normalize_dot.inl"
00050
00051 namespace glm{using namespace gtx::normalize_dot;}
00052
00053 #endif//glm_gtx_normalize_dot