Browse Source

Whitespace fixes

Jorrit Rouwe 10 months ago
parent
commit
14f8ba56e6

+ 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)
 	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);
 		return sCorrectFractionForCharacterPadding(rt_shape->GetInnerShape(), inStart * Mat44::sRotation(rt_shape->GetRotation()), inDisplacement, rt_shape->TransformScale(inScale), inPolygon, ioFraction);
 	}
 	}
 	else if (inShape->GetSubType() == EShapeSubType::Scaled)
 	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
 		// Remove non-colliding sensors from the list
 		for (int i = int(mCollidingSensors.size()) - 1; i >= 0; --i)
 		for (int i = int(mCollidingSensors.size()) - 1; i >= 0; --i)
 			if (!mCollidingSensors[i].mHasContact)
 			if (!mCollidingSensors[i].mHasContact)
-			{			
+			{
 				mCollidingSensors[i] = std::move(mCollidingSensors.back());
 				mCollidingSensors[i] = std::move(mCollidingSensors.back());
 				mCollidingSensors.pop_back();
 				mCollidingSensors.pop_back();
 			}
 			}