16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 17:09:19 +02:00

tmj merge

This commit is contained in:
milek7
2018-01-15 14:08:43 +01:00
32 changed files with 1564 additions and 2294 deletions

View File

@@ -26,15 +26,6 @@ enum TCameraType
class TCamera
{
private:
struct keys {
bool forward{ false };
bool back{ false };
bool left{ false };
bool right{ false };
bool up{ false };
bool down{ false };
bool run{ false };
} m_keys;
glm::dvec3 m_moverate;
public: // McZapkie: potrzebuje do kiwania na boki
@@ -51,7 +42,7 @@ class TCamera
void Reset() {
Pitch = Yaw = Roll = 0; };
void OnCursorMove(double const x, double const y);
void OnCommand( command_data const &Command );
bool OnCommand( command_data const &Command );
void Update();
vector3 GetDirection();
bool SetMatrix(glm::dmat4 &Matrix);