Add a super special Camera from a well known constructor. Can take picture up to Infinite TeraPixel!
This commit is contained in:
@@ -4,7 +4,7 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
set(TESTS_SRC tuple_test.cpp colour_test.cpp canvas_test.cpp matrix_test.cpp transformation_test.cpp ray_test.cpp
|
||||
intersect_test.cpp sphere_test.cpp light_test.cpp material_test.cpp world_test.cpp)
|
||||
intersect_test.cpp sphere_test.cpp light_test.cpp material_test.cpp world_test.cpp camera_test.cpp)
|
||||
|
||||
add_executable(testMyRays)
|
||||
target_include_directories(testMyRays PUBLIC ${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
|
||||
@@ -28,5 +28,11 @@ target_include_directories(ch6_test PUBLIC ../source/include)
|
||||
target_sources(ch6_test PRIVATE ch6_test.cpp)
|
||||
target_link_libraries(ch6_test rayonnement)
|
||||
|
||||
add_executable(ch7_test)
|
||||
target_include_directories(ch6_test PUBLIC ../source/include)
|
||||
target_sources(ch7_test PRIVATE ch7_test.cpp)
|
||||
target_link_libraries(ch7_test rayonnement)
|
||||
|
||||
add_test(NAME Chapter05_Test COMMAND $<TARGET_FILE:ch5_test>)
|
||||
add_test(NAME Chapter06_Test COMMAND $<TARGET_FILE:ch6_test>)
|
||||
add_test(NAME Chapter06_Test COMMAND $<TARGET_FILE:ch6_test>)
|
||||
add_test(NAME Chapter07_Test COMMAND $<TARGET_FILE:ch7_test>)
|
||||
Reference in New Issue
Block a user