terrain

Real-time terrain generation using marching cubes
git clone git://git.christianermann.dev/terrain
Log | Files | Refs | README | LICENSE

player.h (247B)


      1 #ifndef PLAYER_H
      2 #define PLAYER_H
      3 
      4 #include "input.h"
      5 #include "transform.h"
      6 #include "types.h"
      7 
      8 typedef struct {
      9     f32 speed;
     10     f32 sensitivity;
     11     Transform *transform;
     12 } Player;
     13 
     14 void Player_move(Player *player, UserInput *input);
     15 
     16 #endif