summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/cones.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/examples/cones.asy')
-rw-r--r--Build/source/utils/asymptote/examples/cones.asy8
1 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/examples/cones.asy b/Build/source/utils/asymptote/examples/cones.asy
index 4f28796cb92..e63a4281251 100644
--- a/Build/source/utils/asymptote/examples/cones.asy
+++ b/Build/source/utils/asymptote/examples/cones.asy
@@ -3,14 +3,16 @@ import solids;
size(200);
currentprojection=orthographic(5,4,2);
+render render=render(compression=Low,merge=true);
+
revolution upcone=cone(-Z,1,1);
revolution downcone=cone(Z,1,-1);
-draw(surface(upcone),green);
-draw(surface(downcone),green);
+draw(surface(upcone),green,render);
+draw(surface(downcone),green,render);
draw(upcone,5,blue,longitudinalpen=nullpen);
draw(downcone,5,blue,longitudinalpen=nullpen);
revolution cone=shift(2Y-2X)*cone(1,1);
-draw(surface(cone),green);
+draw(surface(cone),green,render);
draw(cone,5,blue);