Added some proper test scenes for chapter 11.

This commit is contained in:
Godzil
2020-02-22 00:50:55 +00:00
parent 3db0aaaeac
commit e45dbad59e
8 changed files with 244 additions and 86 deletions

View File

@@ -32,7 +32,7 @@ public:
Camera(uint32_t hsize, uint32_t vsize, double fov);
void setTransform(Matrix transform);
Ray rayForPixel(uint32_t pixelX, uint32_t pixelY);
Canvas render(World w);
Canvas render(World w, uint32_t depth = 5);
};
#endif /* DORAYME_CAMERA_H */