- Main Page
- Namespaces
- Files

- File List

# associated_min_max.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2009 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.h
    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 namespace glm
    00021 {
    00022         namespace test{
    00023                 void main_gtx_associated_min_max();
    00024         }//namespace test
    00025
    00026         namespace gtx
    00027         {
    00029                 namespace associated_min_max
    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
    00073                 }//namespace associated_min_max
    00074
    00075                 bool test();
    00076         }//namespace gtx
    00077 }//namespace glm
    00078
    00079 #define GLM_GTX_associated_min_max namespace gtx::associated_min_max
    00080 #ifndef GLM_GTX_GLOBAL
    00081 namespace glm {using GLM_GTX_associated_min_max;}
    00082 #endif//GLM_GTC_GLOBAL
    00083
    00084 #include "associated_min_max.inl"
    00085
    00086 #endif//glm_gtx_associated_min_max