3rdparty/glm/doc/api/a00025_source.html
| | 0.9.8 |
extended_min_max.hpp
Go to the documentation of this file.
1
14 #pragma once
15
16 // Dependency:
17 #include "../glm.hpp"
18
19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTX_extented_min_max extension included")
21 #endif
22
23 namespace glm
24 {
27
30template <typename T>
31 GLM_FUNC_DECL T min(
32 T const & x,
33 T const & y,
34 T const & z);
35
38template <typename T, template <typename> class C>
39 GLM_FUNC_DECL C<T> min(
40 C<T> const & x,
41typename C<T>::T const & y,
42typename C<T>::T const & z);
43
46template <typename T, template <typename> class C>
47 GLM_FUNC_DECL C<T> min(
48 C<T> const & x,
49 C<T> const & y,
50 C<T> const & z);
51
54template <typename T>
55 GLM_FUNC_DECL T min(
56 T const & x,
57 T const & y,
58 T const & z,
59 T const & w);
60
63template <typename T, template <typename> class C>
64 GLM_FUNC_DECL C<T> min(
65 C<T> const & x,
66typename C<T>::T const & y,
67typename C<T>::T const & z,
68typename C<T>::T const & w);
69
72template <typename T, template <typename> class C>
73 GLM_FUNC_DECL C<T> min(
74 C<T> const & x,
75 C<T> const & y,
76 C<T> const & z,
77 C<T> const & w);
78
81template <typename T>
82 GLM_FUNC_DECL T max(
83 T const & x,
84 T const & y,
85 T const & z);
86
89template <typename T, template <typename> class C>
90 GLM_FUNC_DECL C<T> max(
91 C<T> const & x,
92typename C<T>::T const & y,
93typename C<T>::T const & z);
94
97template <typename T, template <typename> class C>
98 GLM_FUNC_DECL C<T> max(
99 C<T> const & x,
100 C<T> const & y,
101 C<T> const & z);
102
105template <typename T>
106 GLM_FUNC_DECL T max(
107 T const & x,
108 T const & y,
109 T const & z,
110 T const & w);
111
114template <typename T, template <typename> class C>
115 GLM_FUNC_DECL C<T> max(
116 C<T> const & x,
117typename C<T>::T const & y,
118typename C<T>::T const & z,
119typename C<T>::T const & w);
120
123template <typename T, template <typename> class C>
124 GLM_FUNC_DECL C<T> max(
125 C<T> const & x,
126 C<T> const & y,
127 C<T> const & z,
128 C<T> const & w);
129
131 }//namespace glm
132
133 #include "extended_min_max.inl"
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_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.
Definition: _noise.hpp:11
Generated by 1.8.10