exampleHelper.h 380 B

123456789101112131415161718192021
  1. // Copyright (C) 2015 Patryk Nadrowski
  2. // This file is part of the "Irrlicht Engine".
  3. // For conditions of distribution and use, see copyright notice in irrlicht.h
  4. #pragma once
  5. #include "path.h"
  6. namespace irr
  7. {
  8. static io::path getExampleMediaPath()
  9. {
  10. #ifdef IRR_MOBILE_PATHS
  11. return io::path("media/");
  12. #else
  13. return io::path("../../media/");
  14. #endif
  15. }
  16. } // end namespace irr