Grid
This commit is contained in:
parent
9e8028f904
commit
a7b5306fa9
2 changed files with 29 additions and 2 deletions
|
|
@ -18,8 +18,8 @@ const HEIGHT = 500
|
|||
const PI = math.Pi
|
||||
|
||||
var lightPos Vector3 = Vector3{0, 200, 400}
|
||||
var sphere Sphere = Sphere{Vector3{0, 100, 10}, 10, RED_MAT}
|
||||
var plane Plane = Plane{Vector3{0, 0, 1}, -10, GREY_MAT}
|
||||
var sphere Sphere = Sphere{Vector3{0, 100, 10}, 10, WHITE_GREY_GRID_MAT}
|
||||
var plane Plane = Plane{Vector3{0, 0, 1}, -10, GRID_OF_GRID_MAT}
|
||||
var scene UnionSDF = UnionSDF{sphere, plane}
|
||||
|
||||
var cameraPos Vector3 = Vector3{0, -10, 0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue