Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed May 31, 2023
1 parent 0ad4942 commit 56d1c16
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 1 deletion.
Binary file added demo/test50-0b.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/test50-0c.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/test50-1b.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/test50-1c.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/test50-2b.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Color ray_color(const Ray &r, const Hittable& world, int depth){
hit_record rec;
if(depth < effective_depth) effective_depth = depth;
if(depth <= 0)
return Color(0,0,0);
return Color(1,0,0);

if(world.hit(r,0.001,INFINITY,rec)){
Ray scattered;
Expand Down
1 change: 1 addition & 0 deletions third_party/cxxopts
Submodule cxxopts added at 714a10

0 comments on commit 56d1c16

Please sign in to comment.