No center, just translated
This commit is contained in:
parent
a7f8b46910
commit
2e77c2e411
2 changed files with 5 additions and 8 deletions
|
|
@ -34,8 +34,8 @@ func init() {
|
|||
|
||||
sphereMat := RED_MAT
|
||||
sphereMat.specularFac = 0.5
|
||||
sphere := Sphere{Vector3{0, 100, 5}, 10, sphereMat}
|
||||
plane := Plane{Vector3{0, 0, 1}, 0, WHITE_GREY_GRID_MAT}
|
||||
sphere := TranslatedSDF{Sphere{10, sphereMat}, Vector3{0, 100, 5}}
|
||||
plane := Plane{Vector3{0, 0, 1}, WHITE_GREY_GRID_MAT}
|
||||
|
||||
scene = SmoothUnionSDF{sphere, plane, 2}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue