Skip to content

Commit 4414136

Browse files
author
erwincoumans
authored
Merge pull request #2541 from dbartolini/cleanup-fix-multi-line-warning
Fix multi-line comment warning with -Wcomment
2 parents 63843df + b91124b commit 4414136

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/BulletCollision/CollisionDispatch/btCollisionWorldImporter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ btCollisionShape* btCollisionWorldImporter::convertCollisionShape(btCollisionSha
292292
}
293293
break;
294294
}
295-
#endif //SUPPORT_GIMPACT_SHAPE_IMPORT \
296-
//The btCapsuleShape* API has issue passing the margin/scaling/halfextents unmodified through the API \
295+
#endif //SUPPORT_GIMPACT_SHAPE_IMPORT
296+
//The btCapsuleShape* API has issue passing the margin/scaling/halfextents unmodified through the API
297297
//so deal with this
298298
case CAPSULE_SHAPE_PROXYTYPE:
299299
{

src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,9 @@ void btConvexConvexAlgorithm ::processCollision(const btCollisionObjectWrapper*
503503

504504
gjkPairDetector.getClosestPoints(input, withoutMargin, dispatchInfo.m_debugDraw);
505505
//gjkPairDetector.getClosestPoints(input,dummy,dispatchInfo.m_debugDraw);
506-
#endif //ZERO_MARGIN \
507-
//btScalar l2 = gjkPairDetector.getCachedSeparatingAxis().length2(); \
508-
//if (l2>SIMD_EPSILON)
506+
#endif //ZERO_MARGIN
507+
//btScalar l2 = gjkPairDetector.getCachedSeparatingAxis().length2();
508+
//if (l2>SIMD_EPSILON)
509509
{
510510
sepNormalWorldSpace = withoutMargin.m_reportedNormalOnWorld; //gjkPairDetector.getCachedSeparatingAxis()*(1.f/l2);
511511
//minDist = -1e30f;//gjkPairDetector.getCachedSeparatingDistance();

0 commit comments

Comments
 (0)