search for: vrotate

Displaying 2 results from an estimated 2 matches for "vrotate".

Did you mean: rotate
2007 Apr 12
1
[PATCH] Transparent cube
Hi, Recently i have worked on re-writing beryl's transparent cube, and ported 3d plugin to compiz. I'm attaching a patchset here that includes the transparent cube patches (i'll post the 3d plugin when i fix some problems that didn't happen in beryl). Patching order: btf-ftb.patch, clip-planes.patch, plugin-events.patch, cube-paint-order.patch, transparent-cube.patch. Special
2007 Jun 12
0
[PATCH] Combined checkFTB and capDirection into one checkOrientation function.
..., sAttrib, transform, outputPtr, vPoints); + else + ftb = FALSE; if ((paintOrder == FTB && !ftb) || (paintOrder == BTF && ftb)) @@ -1508,8 +1457,14 @@ cubePaintTransformedOutput (CompScreen *s, (cs->invert != 1 || cs->desktopOpacity != OPAQUE || sa.vRotate != 0.0f || sa.yTranslate != 0.0f)) { - topDir = cs->capDirection(s, &sa, transform, outputPtr, 0.5f); - bottomDir = cs->capDirection(s, &sa, transform, outputPtr, -0.5f); + static float top[3][3] = { { 0.5, 0.5, 0.0}, + { 0.0, 0.5, -0.5}, + { 0.0, 0.5, 0.0}}; + sta...