img.cpp 974 B

12345678910111213141516171819202122232425262728293031323334
  1. ///////////////////////////////////////////////////////////////////////////////////////////////////
  2. // OpenGL Mathematics Copyright (c) 2005 - 2010 G-Truc Creation (www.g-truc.net)
  3. ///////////////////////////////////////////////////////////////////////////////////////////////////
  4. // Created : 2009-10-27
  5. // Updated : 2009-10-27
  6. // Licence : This source is under MIT License
  7. // File : test/glm/img.cpp
  8. ///////////////////////////////////////////////////////////////////////////////////////////////////
  9. // Dependency:
  10. // - GLM core
  11. ///////////////////////////////////////////////////////////////////////////////////////////////////
  12. #include "img.hpp"
  13. #include <glm/img/multiple.hpp>
  14. #include <glm/img/wrap.hpp>
  15. namespace glm{
  16. namespace test
  17. {
  18. bool main_img()
  19. {
  20. bool Success = true;
  21. Success = Success && main_img_multiple();
  22. assert(Success);
  23. Success = Success && main_img_wrap();
  24. assert(Success);
  25. return Success;
  26. }
  27. }//namespace test
  28. }//namespace glm