0.9.9 API documenation
|
Min and max functions that return associated values not the compared onces. More...
Functions | |
template<typename T , typename U > | |
GLM_FUNC_DECL U | associatedMax (T x, U a, T y, U b) |
Maximum comparison between 2 variables and returns 2 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< 2, U, P > | associatedMax (vec< L, T, P > const &x, vec< L, U, P > const &a, vec< L, T, P > const &y, vec< L, U, P > const &b) |
Maximum comparison between 2 variables and returns 2 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, T, P > | associatedMax (T x, vec< L, U, P > const &a, T y, vec< L, U, P > const &b) |
Maximum comparison between 2 variables and returns 2 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMax (vec< L, T, P > const &x, U a, vec< L, T, P > const &y, U b) |
Maximum comparison between 2 variables and returns 2 associated variable values. More... | |
template<typename T , typename U > | |
GLM_FUNC_DECL U | associatedMax (T x, U a, T y, U b, T z, U c) |
Maximum comparison between 3 variables and returns 3 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMax (vec< L, T, P > const &x, vec< L, U, P > const &a, vec< L, T, P > const &y, vec< L, U, P > const &b, vec< L, T, P > const &z, vec< L, U, P > const &c) |
Maximum comparison between 3 variables and returns 3 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, T, P > | associatedMax (T x, vec< L, U, P > const &a, T y, vec< L, U, P > const &b, T z, vec< L, U, P > const &c) |
Maximum comparison between 3 variables and returns 3 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMax (vec< L, T, P > const &x, U a, vec< L, T, P > const &y, U b, vec< L, T, P > const &z, U c) |
Maximum comparison between 3 variables and returns 3 associated variable values. More... | |
template<typename T , typename U > | |
GLM_FUNC_DECL U | associatedMax (T x, U a, T y, U b, T z, U c, T w, U d) |
Maximum comparison between 4 variables and returns 4 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMax (vec< L, T, P > const &x, vec< L, U, P > const &a, vec< L, T, P > const &y, vec< L, U, P > const &b, vec< L, T, P > const &z, vec< L, U, P > const &c, vec< L, T, P > const &w, vec< L, U, P > const &d) |
Maximum comparison between 4 variables and returns 4 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMax (T x, vec< L, U, P > const &a, T y, vec< L, U, P > const &b, T z, vec< L, U, P > const &c, T w, vec< L, U, P > const &d) |
Maximum comparison between 4 variables and returns 4 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMax (vec< L, T, P > const &x, U a, vec< L, T, P > const &y, U b, vec< L, T, P > const &z, U c, vec< L, T, P > const &w, U d) |
Maximum comparison between 4 variables and returns 4 associated variable values. More... | |
template<typename T , typename U , qualifier P> | |
GLM_FUNC_DECL U | associatedMin (T x, U a, T y, U b) |
Minimum comparison between 2 variables and returns 2 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< 2, U, P > | associatedMin (vec< L, T, P > const &x, vec< L, U, P > const &a, vec< L, T, P > const &y, vec< L, U, P > const &b) |
Minimum comparison between 2 variables and returns 2 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMin (T x, const vec< L, U, P > &a, T y, const vec< L, U, P > &b) |
Minimum comparison between 2 variables and returns 2 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMin (vec< L, T, P > const &x, U a, vec< L, T, P > const &y, U b) |
Minimum comparison between 2 variables and returns 2 associated variable values. More... | |
template<typename T , typename U > | |
GLM_FUNC_DECL U | associatedMin (T x, U a, T y, U b, T z, U c) |
Minimum comparison between 3 variables and returns 3 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMin (vec< L, T, P > const &x, vec< L, U, P > const &a, vec< L, T, P > const &y, vec< L, U, P > const &b, vec< L, T, P > const &z, vec< L, U, P > const &c) |
Minimum comparison between 3 variables and returns 3 associated variable values. More... | |
template<typename T , typename U > | |
GLM_FUNC_DECL U | associatedMin (T x, U a, T y, U b, T z, U c, T w, U d) |
Minimum comparison between 4 variables and returns 4 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMin (vec< L, T, P > const &x, vec< L, U, P > const &a, vec< L, T, P > const &y, vec< L, U, P > const &b, vec< L, T, P > const &z, vec< L, U, P > const &c, vec< L, T, P > const &w, vec< L, U, P > const &d) |
Minimum comparison between 4 variables and returns 4 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMin (T x, vec< L, U, P > const &a, T y, vec< L, U, P > const &b, T z, vec< L, U, P > const &c, T w, vec< L, U, P > const &d) |
Minimum comparison between 4 variables and returns 4 associated variable values. More... | |
template<length_t L, typename T , typename U , qualifier P> | |
GLM_FUNC_DECL vec< L, U, P > | associatedMin (vec< L, T, P > const &x, U a, vec< L, T, P > const &y, U b, vec< L, T, P > const &z, U c, vec< L, T, P > const &w, U d) |
Minimum comparison between 4 variables and returns 4 associated variable values. More... | |
Min and max functions that return associated values not the compared onces.
<glm/gtx/associated_min_max.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL U glm::associatedMax | ( | T | x, |
U | a, | ||
T | y, | ||
U | b | ||
) |
Maximum comparison between 2 variables and returns 2 associated variable values.
GLM_FUNC_DECL vec<2, U, P> glm::associatedMax | ( | vec< L, T, P > const & | x, |
vec< L, U, P > const & | a, | ||
vec< L, T, P > const & | y, | ||
vec< L, U, P > const & | b | ||
) |
Maximum comparison between 2 variables and returns 2 associated variable values.
GLM_FUNC_DECL vec<L, T, P> glm::associatedMax | ( | T | x, |
vec< L, U, P > const & | a, | ||
T | y, | ||
vec< L, U, P > const & | b | ||
) |
Maximum comparison between 2 variables and returns 2 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMax | ( | vec< L, T, P > const & | x, |
U | a, | ||
vec< L, T, P > const & | y, | ||
U | b | ||
) |
Maximum comparison between 2 variables and returns 2 associated variable values.
GLM_FUNC_DECL U glm::associatedMax | ( | T | x, |
U | a, | ||
T | y, | ||
U | b, | ||
T | z, | ||
U | c | ||
) |
Maximum comparison between 3 variables and returns 3 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMax | ( | vec< L, T, P > const & | x, |
vec< L, U, P > const & | a, | ||
vec< L, T, P > const & | y, | ||
vec< L, U, P > const & | b, | ||
vec< L, T, P > const & | z, | ||
vec< L, U, P > const & | c | ||
) |
Maximum comparison between 3 variables and returns 3 associated variable values.
GLM_FUNC_DECL vec<L, T, P> glm::associatedMax | ( | T | x, |
vec< L, U, P > const & | a, | ||
T | y, | ||
vec< L, U, P > const & | b, | ||
T | z, | ||
vec< L, U, P > const & | c | ||
) |
Maximum comparison between 3 variables and returns 3 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMax | ( | vec< L, T, P > const & | x, |
U | a, | ||
vec< L, T, P > const & | y, | ||
U | b, | ||
vec< L, T, P > const & | z, | ||
U | c | ||
) |
Maximum comparison between 3 variables and returns 3 associated variable values.
GLM_FUNC_DECL U glm::associatedMax | ( | T | x, |
U | a, | ||
T | y, | ||
U | b, | ||
T | z, | ||
U | c, | ||
T | w, | ||
U | d | ||
) |
Maximum comparison between 4 variables and returns 4 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMax | ( | vec< L, T, P > const & | x, |
vec< L, U, P > const & | a, | ||
vec< L, T, P > const & | y, | ||
vec< L, U, P > const & | b, | ||
vec< L, T, P > const & | z, | ||
vec< L, U, P > const & | c, | ||
vec< L, T, P > const & | w, | ||
vec< L, U, P > const & | d | ||
) |
Maximum comparison between 4 variables and returns 4 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMax | ( | T | x, |
vec< L, U, P > const & | a, | ||
T | y, | ||
vec< L, U, P > const & | b, | ||
T | z, | ||
vec< L, U, P > const & | c, | ||
T | w, | ||
vec< L, U, P > const & | d | ||
) |
Maximum comparison between 4 variables and returns 4 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMax | ( | vec< L, T, P > const & | x, |
U | a, | ||
vec< L, T, P > const & | y, | ||
U | b, | ||
vec< L, T, P > const & | z, | ||
U | c, | ||
vec< L, T, P > const & | w, | ||
U | d | ||
) |
Maximum comparison between 4 variables and returns 4 associated variable values.
GLM_FUNC_DECL U glm::associatedMin | ( | T | x, |
U | a, | ||
T | y, | ||
U | b | ||
) |
Minimum comparison between 2 variables and returns 2 associated variable values.
GLM_FUNC_DECL vec<2, U, P> glm::associatedMin | ( | vec< L, T, P > const & | x, |
vec< L, U, P > const & | a, | ||
vec< L, T, P > const & | y, | ||
vec< L, U, P > const & | b | ||
) |
Minimum comparison between 2 variables and returns 2 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMin | ( | T | x, |
const vec< L, U, P > & | a, | ||
T | y, | ||
const vec< L, U, P > & | b | ||
) |
Minimum comparison between 2 variables and returns 2 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMin | ( | vec< L, T, P > const & | x, |
U | a, | ||
vec< L, T, P > const & | y, | ||
U | b | ||
) |
Minimum comparison between 2 variables and returns 2 associated variable values.
GLM_FUNC_DECL U glm::associatedMin | ( | T | x, |
U | a, | ||
T | y, | ||
U | b, | ||
T | z, | ||
U | c | ||
) |
Minimum comparison between 3 variables and returns 3 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMin | ( | vec< L, T, P > const & | x, |
vec< L, U, P > const & | a, | ||
vec< L, T, P > const & | y, | ||
vec< L, U, P > const & | b, | ||
vec< L, T, P > const & | z, | ||
vec< L, U, P > const & | c | ||
) |
Minimum comparison between 3 variables and returns 3 associated variable values.
GLM_FUNC_DECL U glm::associatedMin | ( | T | x, |
U | a, | ||
T | y, | ||
U | b, | ||
T | z, | ||
U | c, | ||
T | w, | ||
U | d | ||
) |
Minimum comparison between 4 variables and returns 4 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMin | ( | vec< L, T, P > const & | x, |
vec< L, U, P > const & | a, | ||
vec< L, T, P > const & | y, | ||
vec< L, U, P > const & | b, | ||
vec< L, T, P > const & | z, | ||
vec< L, U, P > const & | c, | ||
vec< L, T, P > const & | w, | ||
vec< L, U, P > const & | d | ||
) |
Minimum comparison between 4 variables and returns 4 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMin | ( | T | x, |
vec< L, U, P > const & | a, | ||
T | y, | ||
vec< L, U, P > const & | b, | ||
T | z, | ||
vec< L, U, P > const & | c, | ||
T | w, | ||
vec< L, U, P > const & | d | ||
) |
Minimum comparison between 4 variables and returns 4 associated variable values.
GLM_FUNC_DECL vec<L, U, P> glm::associatedMin | ( | vec< L, T, P > const & | x, |
U | a, | ||
vec< L, T, P > const & | y, | ||
U | b, | ||
vec< L, T, P > const & | z, | ||
U | c, | ||
vec< L, T, P > const & | w, | ||
U | d | ||
) |
Minimum comparison between 4 variables and returns 4 associated variable values.