diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-09-22 20:09:11 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-09-22 20:09:11 -0600 |
commit | 7224002dcf90a2c12db9b031fdeb71bc29414e71 (patch) | |
tree | d0747ce287ffa7d0b1c472e9a3e456b3e904d5de /src/gameScreen.h | |
parent | 31e39555f6625ec7c2b9f8dd99b4bf19872e40c0 (diff) |
Moved gyroscope code to its own file
Diffstat (limited to 'src/gameScreen.h')
-rw-r--r-- | src/gameScreen.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gameScreen.h b/src/gameScreen.h index 698b044..42591a4 100644 --- a/src/gameScreen.h +++ b/src/gameScreen.h @@ -1,20 +1,15 @@ #include "gameCommon.h" +#include "gyroscope.h" #ifndef GAME_SCREEN_H #define GAME_SCREEN_H #define GAME_SCREEN_TEXT_SIZE 20.0 -#define GYROSCOPE_LINE_THICKNESS 2.0 -#define GYROSCOPE_TEXTURE_SIZE 80 - // Gui stuff and shit. typedef struct GameScreen { Vector2 infoText; - - Vector2 gyroscopePosition; - Camera3D gyroscopeCamaera; - RenderTexture gyroscopeTexture; + Gyroscope gyroscope; } GameScreen; void initGameScreen(GameScreen * gameScreen); |