| 0.9.7

- Main Page
- Modules
- Files

- File List

extented_min_max.hpp
Go to the documentation of this file.
1
43 #pragma once
44
45 // Dependency:
46 #include "../glm.hpp"
47
48 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
49 # pragma message("GLM: GLM_GTX_extented_min_max extension included")
50 #endif
51
52 namespace glm
53 {
56
59 template <typename T>
60 GLM_FUNC_DECL T min(
61 T const & x,
62 T const & y,
63 T const & z);
64
67 template <typename T, template <typename> class C>
68 GLM_FUNC_DECL C<T> min(
69 C<T> const & x,
70 typename C<T>::T const & y,
71 typename C<T>::T const & z);
72
75 template <typename T, template <typename> class C>
76 GLM_FUNC_DECL C<T> min(
77 C<T> const & x,
78 C<T> const & y,
79 C<T> const & z);
80
83 template <typename T>
84 GLM_FUNC_DECL T min(
85 T const & x,
86 T const & y,
87 T const & z,
88 T const & w);
89
92 template <typename T, template <typename> class C>
93 GLM_FUNC_DECL C<T> min(
94 C<T> const & x,
95 typename C<T>::T const & y,
96 typename C<T>::T const & z,
97 typename C<T>::T const & w);
98
101 template <typename T, template <typename> class C>
102 GLM_FUNC_DECL C<T> min(
103 C<T> const & x,
104 C<T> const & y,
105 C<T> const & z,
106 C<T> const & w);
107
110 template <typename T>
111 GLM_FUNC_DECL T max(
112 T const & x,
113 T const & y,
114 T const & z);
115
118 template <typename T, template <typename> class C>
119 GLM_FUNC_DECL C<T> max(
120 C<T> const & x,
121 typename C<T>::T const & y,
122 typename C<T>::T const & z);
123
126 template <typename T, template <typename> class C>
127 GLM_FUNC_DECL C<T> max(
128 C<T> const & x,
129 C<T> const & y,
130 C<T> const & z);
131
134 template <typename T>
135 GLM_FUNC_DECL T max(
136 T const & x,
137 T const & y,
138 T const & z,
139 T const & w);
140
143 template <typename T, template <typename> class C>
144 GLM_FUNC_DECL C<T> max(
145 C<T> const & x,
146 typename C<T>::T const & y,
147 typename C<T>::T const & z,
148 typename C<T>::T const & w);
149
152 template <typename T, template <typename> class C>
153 GLM_FUNC_DECL C<T> max(
154 C<T> const & x,
155 C<T> const & y,
156 C<T> const & z,
157 C<T> const & w);
158
160 }//namespace glm
161
162 #include "extented_min_max.inl"
glm::max
GLM_FUNC_DECL C< T > max(C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
Return the maximum component-wise values of 4 inputs.
glm::min
GLM_FUNC_DECL C< T > min(C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
Return the minimum component-wise values of 4 inputs.
glm
Definition: _noise.hpp:40