From 7421fa97c4daab8fdb136033b51b98ae107e0772 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 4 Apr 2022 16:37:37 +0800 Subject: [PATCH] update doc --- docs/lib3x-sf_thickenT.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/lib3x-sf_thickenT.md b/docs/lib3x-sf_thickenT.md index 09e1e512..97cf015a 100644 --- a/docs/lib3x-sf_thickenT.md +++ b/docs/lib3x-sf_thickenT.md @@ -11,12 +11,12 @@ It thickens a surface with triangular mesh. ## Examples + use ; use ; - radius = 100; thickness = .2; - a_step = 10; + a_step = 15; r_step = 0.2; function f(x, y) = (y^2 - x^2) / 4; @@ -24,8 +24,8 @@ It thickens a surface with triangular mesh. points = [ for(a = [a_step:a_step:360], r = [r_step:r_step:2]) let( - x = round(r * cos(a) * 100) / 100, - y = round(r * sin(a) * 100) / 100 + x = r * cos(a), + y = r * sin(a) ) [x, y, f(x, y)] ];