From 27c4cebb594553430c5706193ac7dd246f62c822 Mon Sep 17 00:00:00 2001 From: Crizomb Date: Sun, 28 Sep 2025 18:46:24 +0200 Subject: [PATCH] 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} }