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} }