[FEAT] Update chapter 10 gallery image

This commit is contained in:
NADAL Jean-Baptiste
2024-03-13 13:28:39 +01:00
parent d2fe968717
commit 8e7d2ac8d7
2 changed files with 3 additions and 1 deletions

View File

@@ -125,7 +125,9 @@ int main(void)
// Configure the camera. // Configure the camera.
// the_camera = Camera(100, 50, std::numbers::pi / 3); // the_camera = Camera(100, 50, std::numbers::pi / 3);
the_camera = Camera(320, 200, std::numbers::pi / 3); // the_camera = Camera(320, 200, std::numbers::pi / 3);
the_camera = Camera(640, 480, std::numbers::pi / 3);
the_camera.show_progress_bar();
the_camera.set_transform( the_camera.set_transform(
Matrix::view_transform(Tuple::Point(0, 1.5, -5), Tuple::Point(0, 1, 0), Tuple::Vector(0, 1, 0))); Matrix::view_transform(Tuple::Point(0, 1.5, -5), Tuple::Point(0, 1, 0), Tuple::Vector(0, 1, 0)));

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 82 KiB