GLM: associated_min_max.hpp Source File

GLM 0.9.5

- Main Page
- Related Pages
- Modules
- Namespaces
- Files

- File List

associated_min_max.hpp
Go to the documentation of this file.
1
38 #ifndef GLM_GTX_associated_min_max
39 #define GLM_GTX_associated_min_max
40
41 // Dependency:
42 #include "../glm.hpp"
43
44 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45 # pragma message("GLM: GLM_GTX_associated_min_max extension included")
46 #endif
47
48 namespace glm
49 {
52
55 template<typename genTypeT, typename genTypeU>
56 genTypeU associatedMin(
57 const genTypeT& x, const genTypeU& a,
58 const genTypeT& y, const genTypeU& b);
59
62 template<typename genTypeT, typename genTypeU>
63 genTypeU associatedMin(
64 const genTypeT& x, const genTypeU& a,
65 const genTypeT& y, const genTypeU& b,
66 const genTypeT& z, const genTypeU& c);
67
70 template<typename genTypeT, typename genTypeU>
71 genTypeU associatedMin(
72 const genTypeT& x, const genTypeU& a,
73 const genTypeT& y, const genTypeU& b,
74 const genTypeT& z, const genTypeU& c,
75 const genTypeT& w, const genTypeU& d);
76
79 template<typename genTypeT, typename genTypeU>
80 genTypeU associatedMax(
81 const genTypeT& x, const genTypeU& a,
82 const genTypeT& y, const genTypeU& b);
83
86 template<typename genTypeT, typename genTypeU>
87 genTypeU associatedMax(
88 const genTypeT& x, const genTypeU& a,
89 const genTypeT& y, const genTypeU& b,
90 const genTypeT& z, const genTypeU& c);
91
94 template<typename genTypeT, typename genTypeU>
95 genTypeU associatedMax(
96 const genTypeT& x, const genTypeU& a,
97 const genTypeT& y, const genTypeU& b,
98 const genTypeT& z, const genTypeU& c,
99 const genTypeT& w, const genTypeU& d);
100
102 } //namespace glm
103
104 #include "associated_min_max.inl"
105
106 #endif//GLM_GTX_associated_min_max
glm::associatedMax
genTypeU associatedMax(const genTypeT &x, const genTypeU &a, const genTypeT &y, const genTypeU &b)
Max comparison between 2 variables.
glm::associatedMin
genTypeU associatedMin(const genTypeT &x, const genTypeU &a, const genTypeT &y, const genTypeU &b)
Min comparison between 2 variables.