SmoothUnion pls

This commit is contained in:
Crizomb 2025-09-28 18:46:24 +02:00
parent a1a6e0471c
commit 27c4cebb59

View file

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