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 namespace gtx{
00025 namespace verbose_operator
00026 {
00029
00032 template <typename genTypeT, typename genTypeU>
00033 genTypeT add(genTypeT const & a, genTypeU const & b);
00034
00037 template <typename genTypeT, typename genTypeU>
00038 genTypeT sub(genTypeT const & a, genTypeU const & b);
00039
00042 template <typename genTypeT, typename genTypeU>
00043 genTypeT mul(genTypeT const & a, genTypeU const & b);
00044
00047 template <typename genTypeT, typename genTypeU>
00048 genTypeT div(genTypeT const & a, genTypeU const & b);
00049
00052 template <typename genTypeT, typename genTypeU, typename genTypeV>
00053 genTypeT mad(genTypeT const & a, genTypeU const & b, genTypeV const & c);
00054
00056 }
00057 }
00058 }
00059
00060 #include "verbose_operator.inl"
00061
00062 namespace glm{using namespace gtx::verbose_operator;}
00063
00064 #endif//glm_gtx_verbose_operator