summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/sqrtx01y1.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/examples/sqrtx01y1.asy')
-rw-r--r--Build/source/utils/asymptote/examples/sqrtx01y1.asy3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/examples/sqrtx01y1.asy b/Build/source/utils/asymptote/examples/sqrtx01y1.asy
index c944f43d268..dcb247f572e 100644
--- a/Build/source/utils/asymptote/examples/sqrtx01y1.asy
+++ b/Build/source/utils/asymptote/examples/sqrtx01y1.asy
@@ -2,6 +2,7 @@ import graph3;
import solids;
size(0,150);
currentprojection=perspective(0,1,10,up=Y);
+currentlight=White;
real f(real x) {return sqrt(x);}
pair F(real x) {return (x,f(x));}
@@ -11,7 +12,7 @@ path p=graph(F,0,1,n=25,operator ..);
path3 p3=path3(p);
revolution a=revolution(p3,Y,0,360);
-draw(surface(a),green);
+draw(surface(a),green,render(compression=Low,merge=true));
draw(p3,blue);
xtick((0,0,0));