| 123456789101112131415161718192021222324 |
- #ifndef WALLENGINE_CAMERA_H
- #define WALLENGINE_CAMERA_H
- #include <irrlicht/irrlicht.h>
- #include <nlohmann/json.hpp>
- namespace wp
- {
- using json = nlohmann::json;
- class camera
- {
- public:
- camera (json json_data);
- irr::core::vector3df getCenter ();
- irr::core::vector3df getEye ();
- irr::core::vector3df getUp ();
- private:
- irr::core::vector3df m_center, m_eye, m_up;
- };
- };
- #endif //WALLENGINE_CAMERA_H
|