search for: xrotat

Displaying 3 results from an estimated 3 matches for "xrotat".

Did you mean: xrotate
2007 Apr 12
1
[PATCH] Transparent cube
...ubeCheckFTB function (checks if the next-painted face should be drawn with FTB flag) seems to not work in some occasions with inside cube (works perfectly with outside cube). I don't know why this happens though. - Because of the calculations-changes i made for making transparent cube to work, xRotate has different values now from what it used to have (it has the rotation of the top-most face, which means between -45 and 45 for 4 sided cube, between -30 and 30 for 3 sided cube etc), and this change results in some weird bugs when rotating the cube with vertical rotations. I looked at applyScree...
2007 Jun 12
0
[PATCH] Added rotation state.
...num _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..0162e0d 100644 --- a/plugins/cube.c +++ b/plugins/cube.c @@ -1859,6 +1859,8 @@ cubeInitScreen (Com...
2007 Jun 26
3
[PATCH] Always use mipmaps in cube plugin
....:. http://wolf.valkyrie.one.pl/ -------------- next part -------------- diff -ruN compiz./plugins/cube.c compiz/plugins/cube.c --- compiz./plugins/cube.c 2007-06-27 00:25:32.000000000 +0200 +++ compiz/plugins/cube.c 2007-06-27 01:21:28.016740889 +0200 @@ -1434,7 +1434,7 @@ xMove = cs->xRotations; - if (cs->grabIndex && cs->opt[CUBE_SCREEN_OPTION_MIPMAP].value.b) + if (cs->opt[CUBE_SCREEN_OPTION_MIPMAP].value.b) s->display->textureFilter = GL_LINEAR_MIPMAP_LINEAR; if (cs->invert == 1)