diff options
author | Norbert Preining <norbert@preining.info> | 2020-03-04 03:02:32 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-03-04 03:02:32 +0000 |
commit | 19d25b8009801aa98ea2f46b45c37c257f990491 (patch) | |
tree | c0da70fbab26feff40e87df289ae797917df8419 /graphics/asymptote/base/solids.asy | |
parent | b78f5a6705512314d6fe42fd5144c5f8e5d484ce (diff) |
CTAN sync 202003040302
Diffstat (limited to 'graphics/asymptote/base/solids.asy')
-rw-r--r-- | graphics/asymptote/base/solids.asy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/asymptote/base/solids.asy b/graphics/asymptote/base/solids.asy index 2f0a13f4b5..72110d6f7a 100644 --- a/graphics/asymptote/base/solids.asy +++ b/graphics/asymptote/base/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); |