stable
This commit is contained in:
parent
b906e0e66c
commit
20ac8620e6
20 changed files with 86 additions and 853 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include "Rayt.hpp"
|
||||
|
||||
#include "CommandLine.hpp"
|
||||
#include "Timing.hpp"
|
||||
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue