mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-08 16:24:35 +00:00
hotfix
This commit is contained in:
@@ -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]]
|
||||
|
||||
@@ -271,7 +271,8 @@ namespace omath
|
||||
}
|
||||
return det;
|
||||
}
|
||||
std::unreachable();
|
||||
else // For no reason MSVC triggers on it as unreachable code so we keep else here.
|
||||
std::unreachable();
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
|
||||
Reference in New Issue
Block a user