dragcfact and dragmfact improvements

This commit is contained in:
bakkeby
2020-03-31 09:07:00 +02:00
parent a560b9cb53
commit 692affcff7
3 changed files with 15 additions and 12 deletions

View File

@ -10,6 +10,8 @@ setcfact(const Arg *arg)
return;
if (!arg->f)
f = 1.0;
else if (arg->f > 4.0) // set fact absolutely
f = arg->f - 4.0;
else
f = arg->f + c->cfact;
if (f < 0.25)