HatchitGraphics
ht_camera.h
1 
26 #pragma once
27 
28 #include <ht_platform.h>
29 #include <ht_math.h>
30 
31 namespace Hatchit {
32 
33  namespace Graphics {
34 
35  class Renderer;
36 
37  class HT_API Camera
38  {
39  public:
40  Camera() = default;
41  Camera(Math::Matrix4 view, Math::Matrix4 projection);
42  ~Camera(void) = default;
43 
44  const Math::Matrix4& GetView() const;
45  const Math::Matrix4& GetProjection() const;
46  uint64_t GetLayerFlags() const;
47 
48  void SetView(Math::Matrix4 view);
49  void SetProjection(Math::Matrix4 projection);
50  void SetLayerFlags(uint64_t flags);
51 
52  void RegisterCamera(Renderer& renderer);
53 
54  private:
55  Math::Matrix4 m_view;
56  Math::Matrix4 m_projection;
57  uint64_t m_layerflags;
58  };
59  }
60 }
Definition: ht_renderer.h:81
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_color.h:19
Definition: ht_camera.h:37