From 43714bd116945573e7e4c854445462afa7f9b1b4 Mon Sep 17 00:00:00 2001 From: Keuin Date: Mon, 11 Apr 2022 22:13:57 +0800 Subject: Implement ray3, timer and a simple viewport scanner. Fix bitmap wrong pixel sequence. Remove default constructor of bitmap. Add pixel mixture method. --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b822baa..b5a00d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,12 +12,13 @@ set(CMAKE_VERBOSE_MAKEFILE on) # main executable -add_executable(rt main.cpp vec.h bitmap.h) +add_executable(rt main.cpp vec.h bitmap.h ray.h) add_executable(image_output main_image_output.cpp vec.h bitmap.h) +add_executable(simple_scanner main_simple_scanner.cpp vec.h bitmap.h ray.h timer.h) # googletest -add_executable(all_tests test.cpp vec.h bitmap.h) +add_executable(all_tests test.cpp vec.h bitmap.h ray.h) target_link_libraries(all_tests gtest_main) include(FetchContent) -- cgit v1.2.3