summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2007-12-19 12:37:16 +0100
committerDennis Kasprzyk <onestone@opencompositing.org>2007-12-19 12:37:16 +0100
commitdb12db7c80833cd9f2740f1b6ea8880b8c616ba9 (patch)
treec30bffc0adb3bfbaec37d31d2ebbdc00ab9c68f4
parent6a974cdf40d99707bb6634e21353c743f5f5a2eb (diff)
downloadcubedbus-db12db7c80833cd9f2740f1b6ea8880b8c616ba9.tar.gz
cubedbus-db12db7c80833cd9f2740f1b6ea8880b8c616ba9.tar.bz2
Rotate scene correctly in inside cube mode.
-rw-r--r--cubedbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cubedbus.c b/cubedbus.c
index 1daadd1..b3b4f00 100644
--- a/cubedbus.c
+++ b/cubedbus.c
@@ -351,7 +351,8 @@ cubedbusPaintInside (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;