00001
00002
00004
00005
00006
00007
00009
00010
00012
00013 #ifndef glm_gtx_verbose_operator
00014 #define glm_gtx_verbose_operator
00015
00016
00017 #include "../glm.hpp"
00018
00019 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00020 # pragma message("GLM: GLM_GTX_verbose_operator extension included")
00021 #endif
00022
00023 namespace glm
00024 {
00025 namespace test{
00026 void main_ext_gtx_verbose_operator();
00027 }
00028
00029 namespace gtx{
00031 namespace verbose_operator
00032 {
00035
00038 template <typename genTypeT, typename genTypeU>
00039 genTypeT add(genTypeT const & a, genTypeU const & b);
00040
00043 template <typename genTypeT, typename genTypeU>
00044 genTypeT sub(genTypeT const & a, genTypeU const & b);
00045
00048 template <typename genTypeT, typename genTypeU>
00049 genTypeT mul(genTypeT const & a, genTypeU const & b);
00050
00053 template <typename genTypeT, typename genTypeU>
00054 genTypeT div(genTypeT const & a, genTypeU const & b);
00055
00058 template <typename genTypeT, typename genTypeU, typename genTypeV>
00059 genTypeT mad(genTypeT const & a, genTypeU const & b, genTypeV const & c);
00060
00062 }
00063 }
00064 }
00065
00066 #include "verbose_operator.inl"
00067
00068 namespace glm{using namespace gtx::verbose_operator;}
00069
00070 #endif//glm_gtx_verbose_operator