Update matrix4x4.inl

Remove dead code.
pull/5445/head
Kim Kulling 2024-02-06 20:33:26 +01:00 committed by GitHub
parent 6b57c1f73a
commit d968562e96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -546,10 +546,6 @@ aiMatrix4x4t<TReal>& aiMatrix4x4t<TReal>::FromEulerAnglesXYZ(TReal x, TReal y, T
template <typename TReal>
AI_FORCE_INLINE
bool aiMatrix4x4t<TReal>::IsIdentity(const TReal epsilon) const {
// Use a small epsilon to solve floating-point inaccuracies
// Default value for backward compatibility with legacy code:
// const static TReal epsilon = 10e-3f;
return (a2 <= epsilon && a2 >= -epsilon &&
a3 <= epsilon && a3 >= -epsilon &&
a4 <= epsilon && a4 >= -epsilon &&