0.9.6: normalize_dot.hpp Source File

| 0.9.6

- Main Page
- Modules
- Files

- File List

normalize_dot.hpp
Go to the documentation of this file.
1
43 #pragma once
44
45 // Dependency:
46 #include "../gtx/fast_square_root.hpp"
47
48 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
49 # pragma message("GLM: GLM_GTX_normalize_dot extension included")
50 #endif
51
52 namespace glm
53 {
56
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);
63
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);
70
72 }//namespace glm
73
74 #include "normalize_dot.inl"
glm::normalizeDot
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::fastNormalizeDot
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
Definition: _noise.hpp:39