17 #include "../gtx/fast_square_root.hpp"
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_normalize_dot is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_normalize_dot extension included")
36 template <
typename T, precision P,
template <
typename, precision>
class vecType>
37 GLM_FUNC_DECL T
normalizeDot(vecType<T, P>
const & x, vecType<T, P>
const & y);
43 template <
typename T, precision P,
template <
typename, precision>
class vecType>
44 GLM_FUNC_DECL T
fastNormalizeDot(vecType<T, P>
const & x, vecType<T, P>
const & y);
49 #include "normalize_dot.inl"
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.
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.