summaryrefslogtreecommitdiff
path: root/src/player.c
blob: b94290d5f00e592e2155179daff5d38452d43e24 (plain)
1
2
3
4
5
6
7
8
9
10
#include <math.h>
#include "player.h"

int player_update(player_t *player)
{
    player->anglesin = sinf(player->angle);
    player->anglecos = cosf(player->angle);

    return 0;
}