operator.hpp 878 B

12345678910111213141516171819202122232425262728
  1. ///////////////////////////////////////////////////////////////////////////////////////////////////
  2. // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net)
  3. ///////////////////////////////////////////////////////////////////////////////////////////////////
  4. // Created : 2010-01-19
  5. // Updated : 2010-01-19
  6. // Licence : This source is under MIT License
  7. // File : gli/core/operator.hpp
  8. ///////////////////////////////////////////////////////////////////////////////////////////////////
  9. #ifndef GLI_OPERATOR_INCLUDED
  10. #define GLI_OPERATOR_INCLUDED
  11. #include "texture2d.hpp"
  12. namespace gli{
  13. namespace detail
  14. {
  15. }//namespace detail
  16. texture2D operator+(texture2D const & TextureA, texture2D const & TextureB);
  17. texture2D operator-(texture2D const & TextureA, texture2D const & TextureB);
  18. }//namespace gli
  19. #include "operator.inl"
  20. #endif//GLI_OPERATOR_INCLUDED