summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-04-02 09:10:09 +0200
committerDanny Baumann <dannybaumann@web.de>2008-04-02 09:10:09 +0200
commit79bd82437b138d6aa83f9ae14497c50c4348fbc2 (patch)
tree59214792a996e790338575d6535165e3eec76d9b
parentf62a9ee2afd2e31f69c7282ea4ff947ea8234e3f (diff)
downloadsnowglobe-79bd82437b138d6aa83f9ae14497c50c4348fbc2.tar.gz
snowglobe-79bd82437b138d6aa83f9ae14497c50c4348fbc2.tar.bz2
Track cube plugin changes.compiz-0.8
-rw-r--r--movement.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/movement.c b/movement.c
index 0bbc0d9..026d714 100644
--- a/movement.c
+++ b/movement.c
@@ -35,13 +35,15 @@ newSnowflakePosition(SnowglobeScreen *as, int i)
void
SnowflakeDrift (CompScreen *s, int index)
{
+ float progress;
+
SNOWGLOBE_SCREEN (s);
CUBE_SCREEN (s);
//float oldXRotate = as->xRotate;
//float oldVRotate = as->vRotate;
- (*cs->getRotation) (s, &(as->xRotate), &(as->vRotate));
+ (*cs->getRotation) (s, &(as->xRotate), &(as->vRotate), &progress);
as->xRotate = fmodf( as->xRotate-cs->invert * (360.0f / s->hsize) *
((s->x* cs->nOutput)), 360 );