# GLM_GTX_associated_min_max

GLM_GTX_associated_min_max
GTX Extensions (Experimental)

## Functions

template<typename genTypeT , typename genTypeU >
genTypeU | associatedMax (const genTypeT &x, const genTypeU &a, const genTypeT &y, const genTypeU &b)
template<typename genTypeT , typename genTypeU >
genTypeU | associatedMax (const genTypeT &x, const genTypeU &a, const genTypeT &y, const genTypeU &b, const genTypeT &z, const genTypeU &c)
template<typename genTypeT , typename genTypeU >
genTypeU | associatedMax (const genTypeT &x, const genTypeU &a, const genTypeT &y, const genTypeU &b, const genTypeT &z, const genTypeU &c, const genTypeT &w, const genTypeU &d)
template<typename genTypeT , typename genTypeU >
genTypeU | associatedMin (const genTypeT &x, const genTypeU &a, const genTypeT &y, const genTypeU &b)
template<typename genTypeT , typename genTypeU >
genTypeU | associatedMin (const genTypeT &x, const genTypeU &a, const genTypeT &y, const genTypeU &b, const genTypeT &z, const genTypeU &c)
template<typename genTypeT , typename genTypeU >
genTypeU | associatedMin (const genTypeT &x, const genTypeU &a, const genTypeT &y, const genTypeU &b, const genTypeT &z, const genTypeU &c, const genTypeT &w, const genTypeU &d)

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

genTypeU glm::associatedMax | ( | const genTypeT & | x,
|  | const genTypeU & | a,
|  | const genTypeT & | y,
|  | const genTypeU & | b
| ) |  |

Max comparison between 2 variables.

See Also
  GLM_GTX_associated_min_max

genTypeU glm::associatedMax | ( | const genTypeT & | x,
|  | const genTypeU & | a,
|  | const genTypeT & | y,
|  | const genTypeU & | b,
|  | const genTypeT & | z,
|  | const genTypeU & | c
| ) |  |

Max comparison between 3 variables.

See Also
  GLM_GTX_associated_min_max

genTypeU glm::associatedMax | ( | const genTypeT & | x,
|  | const genTypeU & | a,
|  | const genTypeT & | y,
|  | const genTypeU & | b,
|  | const genTypeT & | z,
|  | const genTypeU & | c,
|  | const genTypeT & | w,
|  | const genTypeU & | d
| ) |  |

Max comparison between 4 variables.

See Also
  GLM_GTX_associated_min_max

genTypeU glm::associatedMin | ( | const genTypeT & | x,
|  | const genTypeU & | a,
|  | const genTypeT & | y,
|  | const genTypeU & | b
| ) |  |

Min comparison between 2 variables.

See Also
  GLM_GTX_associated_min_max

genTypeU glm::associatedMin | ( | const genTypeT & | x,
|  | const genTypeU & | a,
|  | const genTypeT & | y,
|  | const genTypeU & | b,
|  | const genTypeT & | z,
|  | const genTypeU & | c
| ) |  |

Min comparison between 3 variables.

See Also
  GLM_GTX_associated_min_max

genTypeU glm::associatedMin | ( | const genTypeT & | x,
|  | const genTypeU & | a,
|  | const genTypeT & | y,
|  | const genTypeU & | b,
|  | const genTypeT & | z,
|  | const genTypeU & | c,
|  | const genTypeT & | w,
|  | const genTypeU & | d
| ) |  |

Min comparison between 4 variables.

See Also
  GLM_GTX_associated_min_max