linux-wallpaperengine/WallpaperEngine/camera.h
Alexis Maiquez 654918904a ~ Changed namespace names for wp::core and wp to a more suited name
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2019-08-15 01:53:40 +02:00

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