aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2021-06-21 21:48:26 +0200
committerladevieq <ladevie.quentin@gmail.com>2021-06-21 22:37:35 +0200
commit44e63fdbd30e9d43a02ab894c548467039397aa0 (patch)
tree3ecd95dcea9a3962c5bd4330c04ab7a68d816ea4 /src
parentdf7dc0f1069e6ed8ea24c152eb4c3a5a97e80b91 (diff)
Depth first ordered bvh
Diffstat (limited to 'src')
-rw-r--r--src/utils.cpp2
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;