fast_square_root.hpp
Go to the documentation of this file.
1 
40 #pragma once
41 
42 // Dependency:
43 #include "../glm.hpp"
44 
45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTX_fast_square_root extension included")
47 #endif
48 
49 namespace glm
50 {
53 
56  template <typename genType>
57  GLM_FUNC_DECL genType fastSqrt(genType const & x);
58 
61  template <typename genType>
62  GLM_FUNC_DECL genType fastInverseSqrt(genType const & x);
63 
66  template <typename T, precision P, template <typename, precision> class vecType>
67  GLM_FUNC_DECL vecType<T, P> fastInverseSqrt(vecType<T, P> const & x);
68 
71  template <typename genType>
72  GLM_FUNC_DECL typename genType::value_type fastLength(genType const & x);
73 
76  template <typename genType>
77  GLM_FUNC_DECL typename genType::value_type fastDistance(genType const & x, genType const & y);
78 
81  template <typename genType>
82  GLM_FUNC_DECL genType fastNormalize(genType const & x);
83 
85 }// namespace glm
86 
87 #include "fast_square_root.inl"
glm::fastSqrt
GLM_FUNC_DECL genType fastSqrt(genType const &x)
glm::fastDistance
GLM_FUNC_DECL genType::value_type fastDistance(genType const &x, genType const &y)
glm::fastInverseSqrt
GLM_FUNC_DECL genType fastInverseSqrt(genType const &x)
glm::fastLength
GLM_FUNC_DECL genType::value_type fastLength(genType const &x)
glm
Definition: _literals.hpp:31
glm::fastNormalize
GLM_FUNC_DECL genType fastNormalize(genType const &x)
GLM_FUNC_DECL
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:09