From 80ead50951c8b0d2c60c9fd57b8a4c943634b084 Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 9 Apr 2023 23:36:55 +0300 Subject: things... --- src/player.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/player.c') diff --git a/src/player.c b/src/player.c index 4490f93..b94290d 100644 --- a/src/player.c +++ b/src/player.c @@ -1,3 +1,10 @@ +#include #include "player.h" -// TODO: Implement the functions that manipulate a player +int player_update(player_t *player) +{ + player->anglesin = sinf(player->angle); + player->anglecos = cosf(player->angle); + + return 0; +} -- cgit v1.2.3