summaryrefslogtreecommitdiff
path: root/graphics/asymptote/drawpath3.cc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-08-08 03:05:28 +0000
committerNorbert Preining <norbert@preining.info>2022-08-08 03:05:28 +0000
commitf1e79c3669f68804c471699badc56a4a33a23246 (patch)
tree5e6feae427931b2043e96c6c0867e02ab647c9da /graphics/asymptote/drawpath3.cc
parente56ef8f972de679101fb97ad8e180614d3fd4267 (diff)
CTAN sync 202208080305
Diffstat (limited to 'graphics/asymptote/drawpath3.cc')
-rw-r--r--graphics/asymptote/drawpath3.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/asymptote/drawpath3.cc b/graphics/asymptote/drawpath3.cc
index 20543e2eda..d512c62a7c 100644
--- a/graphics/asymptote/drawpath3.cc
+++ b/graphics/asymptote/drawpath3.cc
@@ -50,10 +50,10 @@ bool drawPath3::write(abs3Doutfile *out)
setcolors(diffuse,emissive,specular,shininess,metallic,fresnel0,out);
if(straight)
- out->addCurve(g.point((Int) 0),g.point((Int) 1),Min,Max);
+ out->addCurve(g.point((Int) 0),g.point((Int) 1));
else
out->addCurve(g.point((Int) 0),g.postcontrol((Int) 0),
- g.precontrol((Int) 1),g.point((Int) 1),Min,Max);
+ g.precontrol((Int) 1),g.point((Int) 1));
#endif
return true;
}
@@ -231,7 +231,7 @@ bool drawPixel::write(abs3Doutfile *out)
RGBAColour Black(0.0,0.0,0.0,color.A);
setcolors(color,color,Black,1.0,0.0,0.04,out);
- out->addPixel(v,width,Min,Max);
+ out->addPixel(v,width);
#endif
return true;
}