diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-06-21 21:48:26 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-06-21 22:37:35 +0200 |
| commit | 44e63fdbd30e9d43a02ab894c548467039397aa0 (patch) | |
| tree | 3ecd95dcea9a3962c5bd4330c04ab7a68d816ea4 /src/utils.cpp | |
| parent | df7dc0f1069e6ed8ea24c152eb4c3a5a97e80b91 (diff) | |
Depth first ordered bvh
Diffstat (limited to 'src/utils.cpp')
| -rw-r--r-- | src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cpp b/src/utils.cpp index a754b1d..a46cd6b 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -54,7 +54,7 @@ color sky_color { 0.5, 0.7, 1.0 }; uint32_t random_scene(sphere *world) { material ground_material = { { 0.5, 0.5, 0.5 } }; ground_material.type = MATERIAL_TYPE::LAMBERTIAN; - world[0] = sphere{ { 0,-1000,0 }, ground_material, 1000 }; + world[0] = sphere{ { 0, -1000, 0 }, ground_material, 1000 }; uint32_t world_sphere_index = 1; |
