diff --git a/shaders/trace.glsl b/shaders/trace.glsl index 50067f2..57ef4d8 100644 --- a/shaders/trace.glsl +++ b/shaders/trace.glsl @@ -171,7 +171,7 @@ hitInfo traceRay(Ray ray) hitInfo hitScene; hitInfo hit; - #if 1 + #if 0 for (int i = 0; i < 10; i++) // portal ray { hitBVH = traverseBVHs(ray); diff --git a/srcs/class/ObjParser.cpp b/srcs/class/ObjParser.cpp index 42fe4df..25a882e 100644 --- a/srcs/class/ObjParser.cpp +++ b/srcs/class/ObjParser.cpp @@ -6,7 +6,7 @@ /* By: ycontre +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/01/16 15:00:33 by tomoron #+# #+# */ -/* Updated: 2025/02/03 18:40:04 by ycontre ### ########.fr */ +/* Updated: 2025/02/03 19:01:06 by ycontre ### ########.fr */ /* */ /* ************************************************************************** */ @@ -257,7 +257,7 @@ void ObjParser::parseMtl(std::stringstream &input_line, Scene &scene) continue; } if(!mat) - throw std::runtime_error("OBJ: error in material file, material name not defined"); + throw std::runtime_error("OBJ: error in material file, material name not defined "); if(identifier == "Kd") { if(!(lineStream >> mat->color.x >> mat->color.y >> mat->color.z))