Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
cameradolly.h
1 #pragma once
2 
3 #include <memory>
4 
5 #include "utils/inertiafollower.h"
6 
7 
8 class WorldObject;
9 class CameraHead;
10 class CameraFollowHelper;
11 
13 public:
14  CameraDolly();
15  ~CameraDolly();
16 
17  CameraHead& cameraHead();
18  const CameraHead& cameraHead() const;
19 
20  void followWorldObject(WorldObject* m_followWorldObject);
21 
22  void update(float deltaSec);
23 
24 
25 protected:
26  std::unique_ptr<CameraHead> m_cameraHead;
27  std::unique_ptr<CameraFollowHelper> m_followHelper;
28 };
29 
Definition: camerahead.h:12
Definition: worldobject.h:43
Definition: camerafollowhelper.h:11
Definition: inertiafollower.h:7
Definition: cameradolly.h:12