summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2007-12-19 12:31:59 +0100
committerDennis Kasprzyk <onestone@opencompositing.org>2007-12-19 12:31:59 +0100
commit275b01f00f9f8d5316759f8242fa9a54b6eca9fc (patch)
tree69cb98aea68b7da82064cbdd040880b39d686228
parenta9aa8d3c72be9e987d1020dd5238ccaa0e1e7ead (diff)
downloadatlantis-275b01f00f9f8d5316759f8242fa9a54b6eca9fc.tar.gz
atlantis-275b01f00f9f8d5316759f8242fa9a54b6eca9fc.tar.bz2
Rotate scene correctly in inside cube mode.
-rw-r--r--atlantis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/atlantis.c b/atlantis.c
index e369b1b..ca8ed93 100644
--- a/atlantis.c
+++ b/atlantis.c
@@ -300,7 +300,8 @@ static void atlantisPaintInside (CompScreen *s,
if (atlantisGetShowWater (s) || atlantisGetShowWaterWire (s))
updateHeight (as->water);
- sA.yRotate += (360.0f / size) * (cs->xRotations - (s->x * cs->nOutput));
+ sA.yRotate += cs->invert * (360.0f / size) *
+ (cs->xRotations - (s->x * cs->nOutput));
(*s->applyScreenTransform) (s, &sA, output, &mT);