From ea74cfc0a87726218a6ae3a5aece8603460e61af Mon Sep 17 00:00:00 2001 From: ladevieq Date: Tue, 29 Dec 2020 22:11:12 +0100 Subject: Assert when VkResult not success --- src/main.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 7dcf801..fd52ef0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -115,26 +115,6 @@ int main() { write_color(std::cout, output_image[index], samples_per_pixel); } - //--------------------------- - // CPU path tracer loop - //-------------------------- - // for (ssize_t row = height - 1; row >= 0; row--) { - // std::cerr << row << " lines remaining" << std::endl; - // for (size_t column = 0; column < width; column++) { - // color pixel_color; - - // for (size_t sample_index = 0; sample_index < samples_per_pixel; sample_index++) { - // auto u = double(column + randd()) / (width - 1.0); - // auto v = double(row + randd()) / (height - 1.0); - // auto ray = camera.get_ray(u, v); - - // pixel_color += ray_color(ray, world, max_depth); - // } - - // write_color(std::cout, pixel_color, samples_per_pixel); - // } - // } - std::cerr << "Done !" << std::endl; return 0; -- cgit v1.3