Browse Source

Whitespace fixes (MSVC keeps adding these even though it is configured not to)

Jorrit Rouwe 1 year ago
parent
commit
6a08b1898c

+ 1 - 1
Jolt/Physics/Body/Body.h

@@ -125,7 +125,7 @@ public:
 	void					SetAllowSleeping(bool inAllow);
 
 	/// Resets the sleep timer. This does not wake up the body if it is sleeping, but allows resetting the system that detects when a body is sleeping.
-	inline void				ResetSleepTimer();												
+	inline void				ResetSleepTimer();
 
 	/// Friction (dimensionless number, usually between 0 and 1, 0 = no friction, 1 = friction force equals force that presses the two bodies together). Note that bodies can have negative friction but the combined friction (see PhysicsSystem::SetCombineFriction) should never go below zero.
 	inline float			GetFriction() const												{ return mFriction; }

+ 1 - 1
Jolt/Physics/Constraints/SixDOFConstraint.cpp

@@ -148,7 +148,7 @@ void SixDOFConstraint::UpdateFixedFreeAxis()
 			c.Deactivate();
 		for (AngleConstraintPart &c : mMotorRotationConstraintPart)
 			c.Deactivate();
-	}	
+	}
 }
 
 SixDOFConstraint::SixDOFConstraint(Body &inBody1, Body &inBody2, const SixDOFConstraintSettings &inSettings) :

+ 2 - 2
Jolt/Physics/Constraints/SixDOFConstraint.h

@@ -69,9 +69,9 @@ public:
 	/// Remove degree of freedom by setting min = FLT_MAX and max = -FLT_MAX. The constraint will be driven to 0 for this axis.
 	///
 	/// Free movement over an axis is allowed when min = -FLT_MAX and max = FLT_MAX.
-	/// 
+	///
 	/// Rotation limit around X-Axis: When limited, should be \f$\in [-\pi, \pi]\f$. Can be asymmetric around zero.
-	/// 
+	///
 	/// Rotation limit around Y-Z Axis: Forms a pyramid or cone shaped limit:
 	/// * For pyramid, should be \f$\in [-\pi, \pi]\f$ and does not need to be symmetrical around zero.
 	/// * For cone should be \f$\in [0, \pi]\f$ and needs to be symmetrical around zero (min limit is assumed to be -max limit).

+ 2 - 2
Jolt/Renderer/DebugRenderer.h

@@ -267,9 +267,9 @@ private:
 	struct SwingConeLimits
 	{
 		bool							operator == (const SwingConeLimits &inRHS) const
-		{ 
+		{
 			return mSwingYHalfAngle == inRHS.mSwingYHalfAngle
-				&& mSwingZHalfAngle == inRHS.mSwingZHalfAngle; 
+				&& mSwingZHalfAngle == inRHS.mSwingZHalfAngle;
 		}
 
 		float							mSwingYHalfAngle;