1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#ifndef GAME_PLAYER_H #define GAME_PLAYER_H #include "raylib.h" #include "input.h" typedef struct { Vector3 position; Vector3 direction; float speed; Color color; } Player; Camera lookThroughPlayer(Camera camera, Player player); void drawPlayer(Player *player); void movePlayers(void); #endif