summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/base/solids.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/base/solids.asy')
-rw-r--r--Build/source/utils/asymptote/base/solids.asy3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/base/solids.asy b/Build/source/utils/asymptote/base/solids.asy
index 0b2ffa2a508..db98af3088c 100644
--- a/Build/source/utils/asymptote/base/solids.asy
+++ b/Build/source/utils/asymptote/base/solids.asy
@@ -212,7 +212,8 @@ struct revolution {
// must be recomputed if camera is adjusted
path3[] silhouette(int m=64, projection P=currentprojection) {
if(is3D())
- write("warning: silhouette routine is intended only for 2d projections");
+ warning("2Dsilhouette",
+ "silhouette routine is intended only for 2d projections");
path3 G,H;
int N=size(g);
int M=(m == 0) ? N : m;