search for: donepaintscreenproc

Displaying 1 result from an estimated 1 matches for "donepaintscreenproc".

2007 Jun 12
0
[PATCH] Added rotation state.
...ube.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; + GLfloat distance; GLushort color[3]; GLfloat tc[12]; diff --git a/plugins/cube.c b/plugins/cube.c index 7c4df03..0162...