diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-06-20 03:03:06 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-06-20 03:03:06 -0400 |
commit | 45c24fd039f237fa9eed03d06ccf8b3738b223e3 (patch) | |
tree | c9d0257e4991b7620baab3fd35525d7ec66eec2c /modules/fbx/fbx_parser | |
parent | 60dcc4f39c0e6289dba691225c002cd6e77be6ba (diff) |
Fix sub-optimal uses of is_equal_approx
Diffstat (limited to 'modules/fbx/fbx_parser')
-rw-r--r-- | modules/fbx/fbx_parser/FBXParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fbx/fbx_parser/FBXParser.cpp b/modules/fbx/fbx_parser/FBXParser.cpp index 163518d18f..a92b23f4ee 100644 --- a/modules/fbx/fbx_parser/FBXParser.cpp +++ b/modules/fbx/fbx_parser/FBXParser.cpp @@ -1167,7 +1167,7 @@ Transform3D ReadMatrix(const ElementPtr element) { // clean values to prevent any IBM damage on inverse() / affine_inverse() for (float &value : values) { - if (::Math::is_equal_approx(0, value)) { + if (::Math::is_zero_approx(value)) { value = 0; } } |