associated_min_max.hpp
00001 
00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
00004 // Created : 2008-03-10
00005 // Updated : 2008-03-15
00006 // Licence : This source is under MIT License
00007 // File    : gtx_associated_min_max.hpp
00009 // Dependency:
00010 // - GLM core
00011 // - GLM_GTX_extented_min_max
00013 
00014 #ifndef glm_gtx_associated_min_max
00015 #define glm_gtx_associated_min_max
00016 
00017 // Dependency:
00018 #include "../glm.hpp"
00019 
00020 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00021 #       pragma message("GLM: GLM_GTX_associated_min_max extension included")
00022 #endif
00023 
00024 namespace glm{
00025 namespace gtx{
00026 namespace associated_min_max 
00027 {
00030 
00032         template<typename genTypeT, typename genTypeU>
00033         genTypeU associatedMin(
00034                 const genTypeT& x, const genTypeU& a, 
00035                 const genTypeT& y, const genTypeU& b);
00036 
00038         template<typename genTypeT, typename genTypeU>
00039         genTypeU associatedMin(
00040                 const genTypeT& x, const genTypeU& a, 
00041                 const genTypeT& y, const genTypeU& b, 
00042                 const genTypeT& z, const genTypeU& c);
00043 
00045         template<typename genTypeT, typename genTypeU>
00046         genTypeU associatedMin(
00047                 const genTypeT& x, const genTypeU& a, 
00048                 const genTypeT& y, const genTypeU& b, 
00049                 const genTypeT& z, const genTypeU& c, 
00050                 const genTypeT& w, const genTypeU& d);
00051 
00053         template<typename genTypeT, typename genTypeU>
00054         genTypeU associatedMax(
00055                 const genTypeT& x, const genTypeU& a, 
00056                 const genTypeT& y, const genTypeU& b);
00057 
00059         template<typename genTypeT, typename genTypeU>
00060         genTypeU associatedMax(
00061                 const genTypeT& x, const genTypeU& a, 
00062                 const genTypeT& y, const genTypeU& b, 
00063                 const genTypeT& z, const genTypeU& c);
00064 
00066         template<typename genTypeT, typename genTypeU>
00067         genTypeU associatedMax(
00068                 const genTypeT& x, const genTypeU& a, 
00069                 const genTypeT& y, const genTypeU& b, 
00070                 const genTypeT& z, const genTypeU& c, 
00071                 const genTypeT& w, const genTypeU& d);
00072 
00074 } //namespace associated_min_max
00075 } //namespace gtx
00076 } //namespace glm
00077 
00078 #include "associated_min_max.inl"
00079 
00080 namespace glm{using namespace gtx::associated_min_max;}
00081 
00082 #endif//glm_gtx_associated_min_max