[FEAT] Update cyclinder

This commit is contained in:
NADAL Jean-Baptiste
2024-03-19 18:42:19 +01:00
parent d34ad6a60b
commit 38107165a7
5 changed files with 180 additions and 39 deletions

View File

@@ -212,8 +212,8 @@ int main(void)
// Configure the camera.
// the_camera = Camera(100, 50, std::numbers::pi / 10);
the_camera = Camera(320, 200, std::numbers::pi / 10);
// the_camera = Camera(640, 480, std::numbers::pi / 10);
// the_camera = Camera(320, 200, std::numbers::pi / 10);
the_camera = Camera(640, 480, std::numbers::pi / 10);
the_camera.show_progress_bar();
the_camera.set_transform(
Matrix::view_transform(Tuple::Point(8, 3.5, -9), Tuple::Point(0, 0.3, 0), Tuple::Vector(0, 1, 0)));