AnimEngine
camera.hpp
1 #pragma once
2 #ifndef KJY_ANIM_ENGINE_COMPONENTS_CAMERA_INTERFACE_HPP_
3 #define KJY_ANIM_ENGINE_COMPONENTS_CAMERA_INTERFACE_HPP_
4 #include "poseable.hpp"
5 #include <glm/glm.hpp>
6 
8  public:
9  virtual ~CameraInterface(){}
10  virtual glm::vec3 getLocation() const = 0;
11  virtual glm::vec3 getViewDir() const = 0;
12  virtual glm::vec3 getViewDir(const Pose& aPoseOverride) const = 0;
13  virtual glm::mat4 getView() const = 0;
14  virtual glm::mat4 getView(const Pose& aPoseOverride) const = 0;
15  virtual glm::mat4 getPerspective(float aspect) const = 0;
16  virtual glm::mat4 getOrthographic() const = 0;
17 };
18 
19 #endif
Definition: Pose.hpp:11
Definition: camera.hpp:7