aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.h
blob: 4983752abe1afc617e1ee63c057edd3c717c99ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "utils.h"

#ifndef PLAYER_H
#define PLAYER_H

typedef struct Player {
  Vector3 position;
  Vector3 direction;
  Vector3 velocity;
  
  Camera camera;
  Vector2 cameraAngle;
} Player;

Player createPlayer();
void updatePlayer(Player* player, Game* game);

#endif