0.9.9 API documenation
Functions
GLM_GTX_associated_min_max

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...
 

Detailed Description

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.

Function Documentation

GLM_FUNC_DECL U glm::associatedMax ( x,
a,
y,
b 
)

Maximum comparison between 2 variables and returns 2 associated variable values.

See also
GLM_GTX_associated_min_max
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.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL vec<L, T, P> glm::associatedMax ( x,
vec< L, U, P > const &  a,
y,
vec< L, U, P > const &  b 
)

Maximum comparison between 2 variables and returns 2 associated variable values.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL vec<L, U, P> glm::associatedMax ( vec< L, T, P > const &  x,
a,
vec< L, T, P > const &  y,
b 
)

Maximum comparison between 2 variables and returns 2 associated variable values.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL U glm::associatedMax ( x,
a,
y,
b,
z,
c 
)

Maximum comparison between 3 variables and returns 3 associated variable values.

See also
GLM_GTX_associated_min_max
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.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL vec<L, T, P> glm::associatedMax ( x,
vec< L, U, P > const &  a,
y,
vec< L, U, P > const &  b,
z,
vec< L, U, P > const &  c 
)

Maximum comparison between 3 variables and returns 3 associated variable values.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL vec<L, U, P> glm::associatedMax ( vec< L, T, P > const &  x,
a,
vec< L, T, P > const &  y,
b,
vec< L, T, P > const &  z,
c 
)

Maximum comparison between 3 variables and returns 3 associated variable values.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL U glm::associatedMax ( x,
a,
y,
b,
z,
c,
w,
d 
)

Maximum comparison between 4 variables and returns 4 associated variable values.

See also
GLM_GTX_associated_min_max
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.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL vec<L, U, P> glm::associatedMax ( x,
vec< L, U, P > const &  a,
y,
vec< L, U, P > const &  b,
z,
vec< L, U, P > const &  c,
w,
vec< L, U, P > const &  d 
)

Maximum comparison between 4 variables and returns 4 associated variable values.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL vec<L, U, P> glm::associatedMax ( vec< L, T, P > const &  x,
a,
vec< L, T, P > const &  y,
b,
vec< L, T, P > const &  z,
c,
vec< L, T, P > const &  w,
d 
)

Maximum comparison between 4 variables and returns 4 associated variable values.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL U glm::associatedMin ( x,
a,
y,
b 
)

Minimum comparison between 2 variables and returns 2 associated variable values.

See also
GLM_GTX_associated_min_max
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.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL vec<L, U, P> glm::associatedMin ( x,
const vec< L, U, P > &  a,
y,
const vec< L, U, P > &  b 
)

Minimum comparison between 2 variables and returns 2 associated variable values.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL vec<L, U, P> glm::associatedMin ( vec< L, T, P > const &  x,
a,
vec< L, T, P > const &  y,
b 
)

Minimum comparison between 2 variables and returns 2 associated variable values.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL U glm::associatedMin ( x,
a,
y,
b,
z,
c 
)

Minimum comparison between 3 variables and returns 3 associated variable values.

See also
GLM_GTX_associated_min_max
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.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL U glm::associatedMin ( x,
a,
y,
b,
z,
c,
w,
d 
)

Minimum comparison between 4 variables and returns 4 associated variable values.

See also
GLM_GTX_associated_min_max
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.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL vec<L, U, P> glm::associatedMin ( x,
vec< L, U, P > const &  a,
y,
vec< L, U, P > const &  b,
z,
vec< L, U, P > const &  c,
w,
vec< L, U, P > const &  d 
)

Minimum comparison between 4 variables and returns 4 associated variable values.

See also
GLM_GTX_associated_min_max
GLM_FUNC_DECL vec<L, U, P> glm::associatedMin ( vec< L, T, P > const &  x,
a,
vec< L, T, P > const &  y,
b,
vec< L, T, P > const &  z,
c,
vec< L, T, P > const &  w,
d 
)

Minimum comparison between 4 variables and returns 4 associated variable values.

See also
GLM_GTX_associated_min_max