diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2020-12-29 22:11:12 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2020-12-29 22:11:12 +0100 |
| commit | ea74cfc0a87726218a6ae3a5aece8603460e61af (patch) | |
| tree | 42ede9849f26f5a0c7d22e5f9fb35f88cd03818a /src/main.cpp | |
| parent | cad3b1393b0422a335fff7777e431a0a3f06456d (diff) | |
Assert when VkResult not success
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
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; |
