Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
camerafollowhelper.h
1 #pragma once
2 
3 #include <glm/glm.hpp>
4 
5 #include "utils/handle/handle.h"
6 #include "property/property.h"
7 
8 
9 class WorldObject;
10 
12 public:
14 
15  WorldObject* target();
16  void setTarget(WorldObject* target);
17 
18  glm::vec3 followPosition();
19 
20 
21 protected:
22  Handle<WorldObject> m_target;
23  Property<glm::vec3> m_cameraOffset;
24 };
25 
26 
Definition: worldobject.h:43
Definition: camerafollowhelper.h:11