Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
camerahead.h
1 #pragma once
2 
3 #include <list>
4 
5 #include <glm/gtx/quaternion.hpp>
6 
7 
8 class HUD;
9 class CameraDolly;
10 class CrossHair;
11 
12 class CameraHead {
13 public:
14  CameraHead(CameraDolly* cameraDolly);
15 
16  CameraDolly* cameraDolly();
17 
18  const glm::quat& relativeOrientation() const;
19  void setRelativeOrientation(const glm::quat& relativeOrientation);
20 
21  glm::vec3 position() const;
22  glm::quat orientation() const;
23 
24 
25 protected:
26  CameraDolly* m_cameraDolly;
27 
28  glm::quat m_relativeOrientation;
29 };
30 
Definition: camerahead.h:12
Definition: hud.h:34
Definition: crosshair.h:14
Definition: cameradolly.h:12