Displaying 1 result from an estimated 1 matches for "rotationmanual".
2007 Jun 12
0
[PATCH] Added rotation state.
...insertions(+), 0 deletions(-)
diff --git a/include/cube.h b/include/cube.h
index 00e5b47..4010b6b 100644
--- a/include/cube.h
+++ b/include/cube.h
@@ -77,6 +77,13 @@ typedef enum _PaintOrder
FTB
} PaintOrder;
+typedef enum _RotationState
+{
+ RotationNone = 0,
+ RotationChange,
+ RotationManual
+} RotationState;
+
typedef struct _CubeScreen {
PreparePaintScreenProc preparePaintScreen;
DonePaintScreenProc donePaintScreen;
@@ -98,6 +105,8 @@ typedef struct _CubeScreen {
int xRotations;
PaintOrder paintOrder;
+ RotationState rotationState;
+
GL...