From 701bbb47e9126b91f9714d482e1380441d53cd34 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 30 Jun 2021 17:57:05 +0800 Subject: [PATCH] update doc --- docs/lib3x-sf_thickenT.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/lib3x-sf_thickenT.md b/docs/lib3x-sf_thickenT.md index 926b7a80..f9538912 100644 --- a/docs/lib3x-sf_thickenT.md +++ b/docs/lib3x-sf_thickenT.md @@ -40,12 +40,12 @@ It thickens a surface with triangular mesh. use ; u_step = 10; - r_step = 0.2; + v_step = 0.2; thickness = .2; points = [ for(u = [0:u_step:360]) - for(v = [-1:r_step:1]) + for(v = [-1:v_step:1]) let( x = (1 + v / 2 * cos(u / 2)) * cos(u), y = (1 + v / 2 * cos(u / 2)) * sin(u), @@ -56,7 +56,7 @@ It thickens a surface with triangular mesh. triangles = tri_delaunay([ for(u = [0:u_step:360]) - for(v = [-1:r_step:1]) + for(v = [-1:v_step:1]) [v, u] ]);