summaryrefslogtreecommitdiff
path: root/src/player.h
blob: 1ee815447bcd876197f443002f0e2a5e210418d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef PLAYER_H
#define PLAYER_H

typedef struct Player {
	float pos_x, pos_y;
	float dir_x, dir_y;
	float plane_x, plane_y;
	float move_speed;
	float rot_speed;
} Player;

void move_player(Player *player, GLFWwindow* window);

#endif