blob: 705f8b97ac9aaa775974198d37a8bed3b0903433 (
plain)
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
|
#pragma once
#include "Math/Math.hpp"
#include "Math/Rotation.hpp"
namespace MC {
class Camera {
public:
Camera() = default;
Vector<3> position();
void set_position(Vector<3> position);
void move(Vector<3> by);
void move_relative(Vector<3> by);
Rotation angles();
void set_angles(Rotation angles);
void rotate(Rotation by);
private:
Vector<3> m_position = {};
Rotation m_angles = {};
};
}
|