0.9.6
normalize_dot.hpp
Go to the documentation of this file.
1 
39 #pragma once
40 
41 // Dependency:
42 #include "../glm.hpp"
43 #include "../gtx/fast_square_root.hpp"
44 
45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTX_normalize_dot extension included")
47 #endif
48 
49 namespace glm
50 {
53 
57  template <typename genType>
58  GLM_FUNC_DECL typename genType::value_type normalizeDot(
59  genType const & x,
60  genType const & y);
61 
65  template <typename genType>
66  GLM_FUNC_DECL typename genType::value_type fastNormalizeDot(
67  genType const & x,
68  genType const & y);
69 
71 }//namespace glm
72 
73 #include "normalize_dot.inl"
Definition: _noise.hpp:31
GLM_FUNC_DECL genType::value_type normalizeDot(genType const &x, genType const &y)
Normalize parameters and returns the dot product of x and y.
GLM_FUNC_DECL genType::value_type fastNormalizeDot(genType const &x, genType const &y)
Normalize parameters and returns the dot product of x and y.