From 44e63fdbd30e9d43a02ab894c548467039397aa0 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 21 Jun 2021 21:48:26 +0200 Subject: Depth first ordered bvh --- src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.cpp') 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; -- cgit v1.3