From 6ba19e2332162de3225d60ae2a377a894ab7299f Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Sat, 23 Sep 2023 18:09:54 -0600 Subject: Better gyroscope rotation --- src/gyroscope.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gyroscope.h') diff --git a/src/gyroscope.h b/src/gyroscope.h index c8156cc..6a86e11 100644 --- a/src/gyroscope.h +++ b/src/gyroscope.h @@ -5,6 +5,7 @@ #define GYROSCOPE_LINE_THICKNESS 2.0 #define GYROSCOPE_TEXTURE_SIZE 80 +#define GYROSCOPE_CAMERA_DISTANCE 3.0 // The gyroscope is rended in 3d but not in the main scene. // We use a render texture to get the gyroscope render onto the screen. @@ -18,6 +19,7 @@ void initGyroscope(Gyroscope * gyroscope); void closeGyroscope(Gyroscope * gyroscope); void resetGyroscopePosition(Gyroscope * gyroscope); + void drawGyroscope(Game * game, Gyroscope * gyroscope); #endif -- cgit v1.2.3