1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix sub-optimal uses of is_equal_approx

This commit is contained in:
Aaron Franke
2021-06-20 03:03:06 -04:00
parent 60dcc4f39c
commit 45c24fd039
9 changed files with 23 additions and 23 deletions

View File

@@ -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;
}
}