This commit is contained in:
IlyaShurupov 2024-04-13 12:28:46 +03:00
parent e161fffc0c
commit 2160dfca34
22 changed files with 339 additions and 157 deletions

View file

@ -6,7 +6,7 @@ extern "C" {
#include "lualib.h"
}
#include "OBJ_Loader.h"
#include "obj/OBJ_Loader.h"
#include <filesystem>
@ -139,7 +139,6 @@ void loadScene(tp::Scene& scene, const std::string& scenePath, tp::RayTracer::Re
// Remove the filename from the path
fs::path directoryPath = fullPath.remove_filename();
if (luaL_dofile(L, scenePath.c_str()) != 0) {
lua_close(L);
printf("Cant open scene script.\n");