Flow Visualisation
ulp.hpp
Go to the documentation of this file.
1 
39 #ifndef GLM_GTC_ulp
40 #define GLM_GTC_ulp GLM_VERSION
41 
42 // Dependency:
43 #include "../glm.hpp"
44 
45 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
46 # pragma message("GLM: GLM_GTC_ulp extension included")
47 #endif
48 
49 namespace glm
50 {
53 
56  template <typename genType>
57  genType next_float(genType const & x);
58 
61  template <typename genType>
62  genType prev_float(genType const & x);
63 
66  template <typename genType>
67  genType next_float(genType const & x, uint const & Distance);
68 
71  template <typename genType>
72  genType prev_float(genType const & x, uint const & Distance);
73 
76  template <typename T>
77  uint float_distance(T const & x, T const & y);
78 
81  template<typename T, template<typename> class vecType>
82  vecType<uint> float_distance(vecType<T> const & x, vecType<T> const & y);
83 
85 }// namespace glm
86 
87 #include "ulp.inl"
88 
89 #endif//GLM_GTC_ulp
90 
uint float_distance(T const &x, T const &y)
Definition: ulp.inl:280
uint_t uint
Definition: type_int.hpp:131
Definition: _detail.hpp:38
Definition: _swizzle.hpp:43
genType next_float(genType const &x)
genType prev_float(genType const &x)