From 7224002dcf90a2c12db9b031fdeb71bc29414e71 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Fri, 22 Sep 2023 20:09:11 -0600 Subject: Moved gyroscope code to its own file --- src/gameScreen.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/gameScreen.h') 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); -- cgit v1.2.3