1
Fork 0

Fix crash due to mising return in test_triangle

This commit is contained in:
Joshua Goins 2024-09-25 10:29:22 +02:00
parent 81d5045037
commit 91026b5943

View file

@ -53,6 +53,8 @@ bool test_triangle(
return true;
}
}
return false;
}
std::optional<HitResult> test_mesh(const Ray ray, const Object& object, const tinyobj::mesh_t& mesh, float& tClosest) {