Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
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
11
class
CameraFollowHelper
{
12
public
:
13
CameraFollowHelper
();
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
WorldObject
Definition:
worldobject.h:43
CameraFollowHelper
Definition:
camerafollowhelper.h:11
Handle< WorldObject >
Property< glm::vec3 >
src
camera
camerafollowhelper.h
Generated on Sun Mar 30 2014 13:32:30 for Voxellancer by
1.8.6