summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/assimp/code/FixNormalsStep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/assimp/code/FixNormalsStep.cpp')
-rw-r--r--src/3rdparty/assimp/code/FixNormalsStep.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/assimp/code/FixNormalsStep.cpp b/src/3rdparty/assimp/code/FixNormalsStep.cpp
index f95dfbc5f..9b8522295 100644
--- a/src/3rdparty/assimp/code/FixNormalsStep.cpp
+++ b/src/3rdparty/assimp/code/FixNormalsStep.cpp
@@ -144,9 +144,9 @@ bool FixInfacingNormalsProcess::ProcessMesh( aiMesh* pcMesh, unsigned int index)
// Check whether this is a planar surface
const float fDelta1_yz = fDelta1_y * fDelta1_z;
- if (fDelta1_x < 0.05f * sqrtf( fDelta1_yz ))return false;
- if (fDelta1_y < 0.05f * sqrtf( fDelta1_z * fDelta1_x ))return false;
- if (fDelta1_z < 0.05f * sqrtf( fDelta1_y * fDelta1_x ))return false;
+ if (fDelta1_x < 0.05f * sqrtf( fDelta1_yz ))return false;
+ if (fDelta1_y < 0.05f * sqrtf( fDelta1_z * fDelta1_x ))return false;
+ if (fDelta1_z < 0.05f * sqrtf( fDelta1_y * fDelta1_x ))return false;
// now compare the volumes of the bounding boxes
if (::fabsf(fDelta0_x * fDelta1_yz) <