summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/player.h b/src/player.h
index 1ee8154..e45dfd9 100644
--- a/src/player.h
+++ b/src/player.h
@@ -3,12 +3,12 @@
typedef struct Player {
float pos_x, pos_y;
- float dir_x, dir_y;
+ float dir, dir_x, dir_y;
float plane_x, plane_y;
float move_speed;
- float rot_speed;
+ float sensitivity;
} Player;
-void move_player(Player *player, GLFWwindow* window);
+void move_player(Player *player, GLFWwindow* window, double* mouse_x, double* mouse_y, double width, double height);
#endif