aboutsummaryrefslogtreecommitdiff
path: root/src/gyroscope.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gyroscope.h')
-rw-r--r--src/gyroscope.h2
1 files changed, 2 insertions, 0 deletions
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