Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouwe committed Sep 29, 2024
1 parent 4c68c79 commit 14f8ba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jolt/Physics/Character/CharacterVirtual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Jolt/Physics/SoftBody/SoftBodyMotionProperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 14f8ba5

Please sign in to comment.