-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCamera.hpp
More file actions
31 lines (28 loc) · 709 Bytes
/
Copy pathCamera.hpp
File metadata and controls
31 lines (28 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __CAM__
#define __CAM__
#include "Pos3f.hpp"
#include "Music.hpp"
class Camera
{
public:
Camera(void);
void reset_cam_menu(void);
void reset_cam_game(float const & x, float const & y);
void initialize(void);
void initializeN(void);
void initialize(float const & a, float const & b);
void update(gdl::GameClock const &, gdl::Input & input);
void getKeys(gdl::GameClock const &, gdl::Input & input);
Pos3f getPos(void) const;
Pos3f getPosn(void) const;
Pos3f getRot(void) const;
void setPos(Pos3f const & pos);
void setPosn(Pos3f const & posn);
void setRot(Pos3f const & pos);
private:
Music music_;
Pos3f pos_;
Pos3f posn_;
Pos3f rot_;
};
#endif