Fix crash due to mising return in test_triangle
This commit is contained in:
parent
81d5045037
commit
91026b5943
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue