46 #include "../gtx/fast_square_root.hpp"
48 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
49 # pragma message("GLM: GLM_GTX_normalize_dot extension included")
61 template <
typename T, precision P,
template <
typename, precision>
class vecType>
62 GLM_FUNC_DECL T
normalizeDot(vecType<T, P>
const & x, vecType<T, P>
const & y);
68 template <
typename T, precision P,
template <
typename, precision>
class vecType>
69 GLM_FUNC_DECL T
fastNormalizeDot(vecType<T, P>
const & x, vecType<T, P>
const & y);
74 #include "normalize_dot.inl"
GLM_FUNC_DECL T fastNormalizeDot(vecType< T, P > const &x, vecType< T, P > const &y)
Normalize parameters and returns the dot product of x and y.
GLM_FUNC_DECL T normalizeDot(vecType< T, P > const &x, vecType< T, P > const &y)
Normalize parameters and returns the dot product of x and y.