SmoothUnion pls
This commit is contained in:
parent
a1a6e0471c
commit
27c4cebb59
1 changed files with 2 additions and 2 deletions
|
|
@ -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}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue