Browse Source

Whitespace fix

Jorrit Rouwe 1 year ago
parent
commit
fac38a8ff4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Jolt/Physics/Collision/Shape/HeightFieldShape.cpp

+ 4 - 4
Jolt/Physics/Collision/Shape/HeightFieldShape.cpp

@@ -481,7 +481,7 @@ HeightFieldShape::HeightFieldShape(const HeightFieldShapeSettings &inSettings, S
 		outResult.Set(this);
 		outResult.Set(this);
 		return;
 		return;
 	}
 	}
-	
+
 	// Allocate space for this shape
 	// Allocate space for this shape
 	AllocateBuffers();
 	AllocateBuffers();
 
 
@@ -2581,9 +2581,9 @@ void HeightFieldShape::SaveBinaryState(StreamOut &inStream) const
 	inStream.Write(mMaxSample);
 	inStream.Write(mMaxSample);
 	inStream.Write(mMaterialIndices);
 	inStream.Write(mMaterialIndices);
 	inStream.Write(mNumBitsPerMaterialIndex);
 	inStream.Write(mNumBitsPerMaterialIndex);
-	
+
 	if (mRangeBlocks != nullptr)
 	if (mRangeBlocks != nullptr)
-	{	
+	{
 		inStream.Write(true);
 		inStream.Write(true);
 		inStream.WriteBytes(mRangeBlocks, mRangeBlocksSize * sizeof(RangeBlock) + mHeightSamplesSize + mActiveEdgesSize);
 		inStream.WriteBytes(mRangeBlocks, mRangeBlocksSize * sizeof(RangeBlock) + mHeightSamplesSize + mActiveEdgesSize);
 	}
 	}
@@ -2608,7 +2608,7 @@ void HeightFieldShape::RestoreBinaryState(StreamIn &inStream)
 	inStream.Read(mNumBitsPerMaterialIndex);
 	inStream.Read(mNumBitsPerMaterialIndex);
 
 
 	CacheValues();
 	CacheValues();
-	
+
 	bool has_heights = false;
 	bool has_heights = false;
 	inStream.Read(has_heights);
 	inStream.Read(has_heights);
 	if (has_heights)
 	if (has_heights)