This commit is contained in:
Ilusha 2024-03-07 12:27:32 +03:00 committed by Ilya Shurupov
parent 6c92be58cd
commit 3eadb0d726
20 changed files with 86 additions and 853 deletions

View file

@ -7,7 +7,7 @@ file(GLOB HEADERS "./public/*.hpp" "./public/*/*.hpp" "./applications/*.hpp")
add_library(${PROJECT_NAME} STATIC ${SOURCES} ${HEADERS})
target_include_directories(${PROJECT_NAME} PUBLIC ./public/)
target_link_libraries(${PROJECT_NAME} PUBLIC Math CommandLine Connection)
target_link_libraries(${PROJECT_NAME} PUBLIC Math Connection)
### -------------------------- Applications -------------------------- ###
add_executable(rayt ./applications/Rayt.cpp applications/SceneLoad.cpp

View file

@ -3,7 +3,6 @@
#include "Rayt.hpp"
#include "CommandLine.hpp"
#include "Timing.hpp"
#define STB_IMAGE_WRITE_IMPLEMENTATION

View file

@ -1,7 +1,7 @@
#include "MathCommon.hpp"
#include "CommandLine.hpp"
#include "ConnectionCommon.hpp"
#include "Module.hpp"
#include "Ray.hpp"
#include "RayTracer.hpp"
@ -43,7 +43,7 @@ normal = n1 * barycentric.x + n2 * barycentric.y + n3 * barycentric.z;
using namespace tp;
ModuleManifest* sDependencies[] = { &gModuleMath, &gModuleCommandLine, &gModuleConnection, nullptr };
ModuleManifest* sDependencies[] = { &gModuleMath, &gModuleConnection, nullptr };
ModuleManifest tp::gModuleRayTracer = ModuleManifest("RayTracer", nullptr, nullptr, sDependencies);