Upgrade Bullet to version 2.83.
[blender.git] / extern / bullet2 / src / BulletCollision / CollisionDispatch / btInternalEdgeUtility.cpp
index 73fa4e87ea42f2f6bd9358fe18d705e92e93ccbc..6cba442ca5dabd636011af1690cec0ac5cbc8a4f 100644 (file)
@@ -193,7 +193,7 @@ struct btConnectivityProcessor : public btTriangleCallback
                                btScalar len2 = calculatedEdge.length2();
 
                                btScalar correctedAngle(0);
-                               btVector3 calculatedNormalB = normalA;
+                               //btVector3 calculatedNormalB = normalA;
                                bool isConvex = false;
 
                                if (len2<m_triangleInfoMap->m_planarEpsilon)
@@ -213,10 +213,6 @@ struct btConnectivityProcessor : public btTriangleCallback
                                        isConvex = (dotA<0.);
 
                                        correctedAngle = isConvex ? ang4 : -ang4;
-                                       btQuaternion orn2(calculatedEdge,-correctedAngle);
-                                       calculatedNormalB = btMatrix3x3(orn2)*normalA;
-
-
                                }