fast_square_root.hpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 #pragma once
00041 
00042 // Dependency:
00043 #include "../glm.hpp"
00044 
00045 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
00046 #       pragma message("GLM: GLM_GTX_fast_square_root extension included")
00047 #endif
00048 
00049 namespace glm
00050 {
00053 
00056         template <typename genType> 
00057         GLM_FUNC_DECL genType fastSqrt(genType const & x);
00058 
00061         template <typename genType> 
00062         GLM_FUNC_DECL genType fastInverseSqrt(genType const & x);
00063 
00066         template <typename T, precision P, template <typename, precision> class vecType>
00067         GLM_FUNC_DECL vecType<T, P> fastInverseSqrt(vecType<T, P> const & x);
00068 
00071         template <typename genType> 
00072         GLM_FUNC_DECL typename genType::value_type fastLength(genType const & x);
00073 
00076         template <typename genType> 
00077         GLM_FUNC_DECL typename genType::value_type fastDistance(genType const & x, genType const & y);
00078 
00081         template <typename genType> 
00082         GLM_FUNC_DECL genType fastNormalize(genType const & x);
00083 
00085 }// namespace glm
00086 
00087 #include "fast_square_root.inl"


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:16