summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/solids.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-03 22:41:44 +0000
committerKarl Berry <karl@freefriends.org>2020-03-03 22:41:44 +0000
commit8b67398a304b54846d01ad667cf1fbb6eb0245d2 (patch)
treec5e045c9d36b21c8dffece4499e2a47e5dd4df8e /Master/texmf-dist/asymptote/solids.asy
parentf76a89d7f9fc8837ce20a63e3a29b2ba75823159 (diff)
asymptote 2.63 support files
git-svn-id: svn://tug.org/texlive/trunk@54036 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/solids.asy')
-rw-r--r--Master/texmf-dist/asymptote/solids.asy3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/asymptote/solids.asy b/Master/texmf-dist/asymptote/solids.asy
index 2f0a13f4b50..72110d6f7aa 100644
--- a/Master/texmf-dist/asymptote/solids.asy
+++ b/Master/texmf-dist/asymptote/solids.asy
@@ -374,6 +374,7 @@ void draw(picture pic=currentpicture, revolution r, int m=0, int n=nslice,
// Return a right circular cylinder of height h in the direction of axis
// based on a circle centered at c with radius r.
+// Note: unitcylinder provides a smoother and more efficient representation.
revolution cylinder(triple c=O, real r, real h, triple axis=Z)
{
triple C=c+r*perp(axis);
@@ -392,7 +393,7 @@ revolution cone(triple c=O, real r, real h, triple axis=Z, int n=nslice)
// Return an approximate sphere of radius r centered at c obtained by rotating
// an (n+1)-point approximation to a half circle about the Z axis.
-// Note: unitsphere provides a smoother and more efficient surface.
+// Note: unitsphere provides a smoother and more efficient representation.
revolution sphere(triple c=O, real r, int n=nslice)
{
return revolution(c,Arc(c,r,180-sqrtEpsilon,0,sqrtEpsilon,0,Y,n),Z);