image.h 376 B

1234567891011121314151617181920212223
  1. #ifndef WALLENGINE_MODEL_H
  2. #define WALLENGINE_MODEL_H
  3. #include <nlohmann/json.hpp>
  4. #include <irrlicht/path.h>
  5. namespace wp
  6. {
  7. using json = nlohmann::json;
  8. class image : public object3d
  9. {
  10. public:
  11. image(json json_data, irr::io::path basepath);
  12. private:
  13. bool m_visible;
  14. irr::io::path m_file;
  15. };
  16. };
  17. #endif //WALLENGINE_MODEL_H