git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8a15e
)
fixed quality setting for cubic spline conversion.
author
kramm
<kramm>
Thu, 7 Apr 2005 09:08:51 +0000
(09:08 +0000)
committer
kramm
<kramm>
Thu, 7 Apr 2005 09:08:51 +0000
(09:08 +0000)
lib/drawer.c
patch
|
blob
|
history
diff --git
a/lib/drawer.c
b/lib/drawer.c
index
f6b77cb
..
cf19d98
100644
(file)
--- a/
lib/drawer.c
+++ b/
lib/drawer.c
@@
-330,8
+330,8
@@
void draw_cubicTo(drawer_t*draw, FPOINT* control1, FPOINT* control2, FPOINT* t
{
struct qspline q[128];
struct cspline c;
- double quality = 80;
- double maxerror = (500-(quality*5)>1?500-(quality*5):1)/20.0;
+ //double quality = 80;
+ double maxerror = 1;//(500-(quality*5)>1?500-(quality*5):1)/20.0;
int t,num;
c.start.x = draw->pos.x;