summaryrefslogtreecommitdiff
path: root/3d.c
diff options
context:
space:
mode:
Diffstat (limited to '3d.c')
-rw-r--r--3d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/3d.c b/3d.c
index 7296d25..4c782ec 100644
--- a/3d.c
+++ b/3d.c
@@ -149,8 +149,8 @@ tdPreparePaintScreen (CompScreen *s,
amount = ((float)msSinceLastPaint * tdGetSpeed (s) / 1000.0);
if (tds->active)
{
- float maxDiv = 0.1; // should be a option;
- float minScale = 0.5; // should be a option;
+ float maxDiv = (float) tdGetMaxWindowSpace (s) / 100;
+ float minScale = (float) tdGetMinCubeSize (s) / 100;
tds->maxDepth = 0;
for (w = s->windows; w; w = w->next)