camera.h 340 B

1234567891011121314151617181920
  1. #ifndef WALLENGINE_CAMERA_H
  2. #define WALLENGINE_CAMERA_H
  3. #include <irrlicht/irrlicht.h>
  4. #include <nlohmann/json.hpp>
  5. namespace wp
  6. {
  7. using json = nlohmann::json;
  8. class camera
  9. {
  10. public:
  11. camera (json json_data);
  12. private:
  13. irr::core::vector3df m_center, m_eye, m_up;
  14. };
  15. };
  16. #endif //WALLENGINE_CAMERA_H