Fixing Camera bugs

This commit is contained in:
2019-12-09 12:24:34 +02:00
parent b51c63ea0c
commit b936db0ce9
4 changed files with 27 additions and 44 deletions
+4 -4
View File
@@ -16,6 +16,7 @@ private:
float vertical_camera_speed;
float vertical_camera_clamp_up;
float vertical_camera_clamp_down;
float movement_speed;
public:
Camera();
@@ -30,12 +31,11 @@ public:
void SetHorizontalRotSpeed(float speed);
void SetClampRotUp(float angle);
void SetClampRotDown(float angle);
void SetMovementSpeed(float speed);
Vec3f GetForward();
void rotate_camera_right();
void rotate_camera_left();
void rotate_camera_up();
void rotate_camera_down();
void rotate_hor(float d_angle);
void rotate_ver(float d_angle);
void move_camera_left();
void move_camera_right();
void move_camera_forward();