/// @ref gtx_normalize_dot /// @file glm/gtx/normalize_dot.inl namespace glm { template class vecType> GLM_FUNC_QUALIFIER T normalizeDot(vecType const & x, vecType const & y) { return glm::dot(x, y) * glm::inversesqrt(glm::dot(x, x) * glm::dot(y, y)); } template class vecType> GLM_FUNC_QUALIFIER T fastNormalizeDot(vecType const & x, vecType const & y) { return glm::dot(x, y) * glm::fastInverseSqrt(glm::dot(x, x) * glm::dot(y, y)); } }//namespace glm