mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-16 14:22:24 +08:00
25 lines
476 B
C++
25 lines
476 B
C++
#ifndef WALLENGINE_CAMERA_H
|
|
#define WALLENGINE_CAMERA_H
|
|
|
|
#include <irrlicht/irrlicht.h>
|
|
#include <nlohmann/json.hpp>
|
|
|
|
namespace WallpaperEngine
|
|
{
|
|
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
|