浏览代码

Whitespace fixes

Jorrit Rouwe 1 年之前
父节点
当前提交
14f8ba56e6
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Jolt/Physics/Character/CharacterVirtual.cpp
  2. 1 1
      Jolt/Physics/SoftBody/SoftBodyMotionProperties.cpp

+ 1 - 1
Jolt/Physics/Character/CharacterVirtual.cpp

@@ -540,7 +540,7 @@ inline static bool sCorrectFractionForCharacterPadding(const Shape *inShape, Mat
 	}
 	else if (inShape->GetSubType() == EShapeSubType::RotatedTranslated)
 	{
-		const RotatedTranslatedShape *rt_shape = static_cast<const RotatedTranslatedShape *>(inShape);		
+		const RotatedTranslatedShape *rt_shape = static_cast<const RotatedTranslatedShape *>(inShape);
 		return sCorrectFractionForCharacterPadding(rt_shape->GetInnerShape(), inStart * Mat44::sRotation(rt_shape->GetRotation()), inDisplacement, rt_shape->TransformScale(inScale), inPolygon, ioFraction);
 	}
 	else if (inShape->GetSubType() == EShapeSubType::Scaled)

+ 1 - 1
Jolt/Physics/SoftBody/SoftBodyMotionProperties.cpp

@@ -692,7 +692,7 @@ void SoftBodyMotionProperties::UpdateSoftBodyState(SoftBodyUpdateContext &ioCont
 		// Remove non-colliding sensors from the list
 		for (int i = int(mCollidingSensors.size()) - 1; i >= 0; --i)
 			if (!mCollidingSensors[i].mHasContact)
-			{			
+			{
 				mCollidingSensors[i] = std::move(mCollidingSensors.back());
 				mCollidingSensors.pop_back();
 			}