From 106be46e64da90d2daebdd4cb8fc828ee0257c26 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 5 Jun 2019 09:21:10 +0800 Subject: [PATCH] update doc --- docs/lib-vorono3d.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lib-vorono3d.md b/docs/lib-vorono3d.md index bcbda8d8..f9eacd16 100644 --- a/docs/lib-vorono3d.md +++ b/docs/lib-vorono3d.md @@ -6,6 +6,7 @@ Creats a 3D version of [Voronoi diagram](https://en.wikipedia.org/wiki/Voronoi_d ys = [for(p = points) abs(p[1])]; zs = [for(p = points) abs(p[2])]; space_size = max([(max(xs) - min(xs) / 2), (max(ys) - min(ys)) / 2, (max(zs) - min(zs)) / 2]); + // cube([space_size, space_size * 2, space_size * 3]); The preview or rendering of 3D Voronoi is slow. If you want to use this module, render and export the 3D Voronoi model first. Then, `import` the model to do what you want. @@ -15,7 +16,6 @@ The preview or rendering of 3D Voronoi is slow. If you want to use this module, - `points` : Points for each cell. - `spacing` : Distance between cells. Default to 1. -- `space_type` : The initial space for each cell can be `"cube"` or `"sphere"`. Default to `"cube"`. ## Examples