Khaotic Engine Reborn
Loading...
Searching...
No Matches
position_class.h
1#ifndef _POSITIONCLASS_H_
2#define _POSITIONCLASS_H_
3
4
6// INCLUDES //
8#include <math.h>
9
10
12// Class name: position_class
15{
16public:
20
21 void SetFrameTime(float);
22 void GetRotation(float&, float&) const;
23 void GetPosition(float&, float&, float&) const;
24
25 void TurnLeft(bool);
26 void TurnRight(bool);
27 void TurnMouse(float, float, float, bool);
28 void MoveCamera(bool, bool, bool, bool, bool, bool, bool, bool, bool);
29
30private:
31 float m_frameTime;
32 float m_rotationY, m_rotationX;
33 float m_positionX, m_positionY, m_positionZ;
34 float m_leftTurnSpeed, m_rightTurnSpeed, m_horizontalTurnSpeed, m_verticalTurnSpeed, m_cameraSpeed, m_speed;
35};
36
37#endif