From 27c4cebb594553430c5706193ac7dd246f62c822 Mon Sep 17 00:00:00 2001 From: Crizomb Date: Sun, 28 Sep 2025 18:46:24 +0200 Subject: [PATCH 1/2] SmoothUnion pls --- src/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.go b/src/main.go index d17e93f..275e33d 100644 --- a/src/main.go +++ b/src/main.go @@ -54,8 +54,8 @@ func update(t float64) { sphere.translate.Z = 20 * math.Sin(t) sphere2.translate.Z = 20 * math.Sin(t*0.5) - // scene = SmoothUnionSDF{SmoothUnionSDF{sphere, plane, 2.5}, sphere2, 2.5} - scene = UnionSDF{UnionSDF{sphere, plane}, sphere2} + scene = SmoothUnionSDF{SmoothUnionSDF{sphere, plane, 2.5}, sphere2, 2.5} + // scene = UnionSDF{UnionSDF{sphere, plane}, sphere2} // scene = UnionSDF{plane, sphere} } From 54082ee1bccf2cbf02388b7721d072ea60c8c2f8 Mon Sep 17 00:00:00 2001 From: Crizomb Date: Wed, 1 Oct 2025 23:01:33 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 725c7a3..43d8014 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ Simple cpu ray-marching in go Focus on Lisiblity & Features + + \ No newline at end of file