diff options
author | Dennis Kasprzyk <onestone@opencompositing.org> | 2007-12-19 12:32:27 +0100 |
---|---|---|
committer | Dennis Kasprzyk <onestone@opencompositing.org> | 2007-12-19 12:32:27 +0100 |
commit | 0a27a16b3497c93c22117b703f355cb6b593de76 (patch) | |
tree | 0a8cfbe6eb457ba1589e6b617554a08d74f572f2 | |
parent | 7e5074fe349f0a5b220f11791e34e0c0c010fb86 (diff) | |
download | gears-0a27a16b3497c93c22117b703f355cb6b593de76.tar.gz gears-0a27a16b3497c93c22117b703f355cb6b593de76.tar.bz2 |
Rotate scene correctly in inside cube mode.
-rw-r--r-- | gears.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -262,7 +262,8 @@ gearsPaintInside (CompScreen *s, ScreenPaintAttrib sA = *sAttrib; - sA.yRotate += (360.0f / size) * (cs->xRotations - (s->x * cs->nOutput)); + sA.yRotate += cs->invert * (360.0f / size) * + (cs->xRotations - (s->x * cs->nOutput)); CompTransform mT = *transform; |