This commit is contained in:
va_alpatov
2026-05-16 05:35:41 +03:00
parent 93e70667f0
commit 7f88bf8b21
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ namespace omath::collision
struct Params final
{
int max_iterations{64};
FloatingType tolerance{1e-4}; // absolute tolerance on distance growth
FloatingType tolerance{1e-4f}; // absolute tolerance on distance growth
};
// Precondition: simplex.size()==4 and contains the origin.
[[nodiscard]]
+1
View File
@@ -271,6 +271,7 @@ namespace omath
}
return det;
}
else // For no reason MSVC triggers on it as unreachable code so we keep else here.
std::unreachable();
}