Entropie git · main
Entropie festival game; first steps
C 88.5% Markdown 9.1% GLSL 2.3%git clone https://git.christianimmanuel.de/games/Entropie.gitwget https://git.christianimmanuel.de/games/Entropie/archive/Entropie.tar.gzentropie/src/game/player.h raw
#ifndef GAME_PLAYER_H
#define GAME_PLAYER_H
/* Turns input into player movement relative to the camera. */
#include "core/input.h"
#include "world/object.h"
#include "render/camera.h"
#define PLAYER_EYE_HEIGHT 1.62f
/* Hold Shift to jog; tap it again and again to sprint. */
void Player_update(Object *player, const Input *input, const Camera *camera, float dt);
#endif /* GAME_PLAYER_H */