Browse Source

BodyInterface.h: Correction to the inline documentation (#1329)

Stephen Gold 9 months ago
parent
commit
73ff8ca062
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Jolt/Physics/Body/BodyInterface.h

+ 2 - 2
Jolt/Physics/Body/BodyInterface.h

@@ -163,14 +163,14 @@ public:
 	/// @param inBodyID Body ID of body that had its shape changed
 	/// @param inBodyID Body ID of body that had its shape changed
 	/// @param inShape The new shape
 	/// @param inShape The new shape
 	/// @param inUpdateMassProperties When true, the mass and inertia tensor is recalculated
 	/// @param inUpdateMassProperties When true, the mass and inertia tensor is recalculated
-	/// @param inActivationMode Weather or not to activate the body
+	/// @param inActivationMode Whether or not to activate the body
 	void						SetShape(const BodyID &inBodyID, const Shape *inShape, bool inUpdateMassProperties, EActivation inActivationMode) const;
 	void						SetShape(const BodyID &inBodyID, const Shape *inShape, bool inUpdateMassProperties, EActivation inActivationMode) const;
 
 
 	/// Notify all systems to indicate that a shape has changed (usable for MutableCompoundShapes)
 	/// Notify all systems to indicate that a shape has changed (usable for MutableCompoundShapes)
 	/// @param inBodyID Body ID of body that had its shape changed
 	/// @param inBodyID Body ID of body that had its shape changed
 	/// @param inPreviousCenterOfMass Center of mass of the shape before the alterations
 	/// @param inPreviousCenterOfMass Center of mass of the shape before the alterations
 	/// @param inUpdateMassProperties When true, the mass and inertia tensor is recalculated
 	/// @param inUpdateMassProperties When true, the mass and inertia tensor is recalculated
-	/// @param inActivationMode Weather or not to activate the body
+	/// @param inActivationMode Whether or not to activate the body
 	void						NotifyShapeChanged(const BodyID &inBodyID, Vec3Arg inPreviousCenterOfMass, bool inUpdateMassProperties, EActivation inActivationMode) const;
 	void						NotifyShapeChanged(const BodyID &inBodyID, Vec3Arg inPreviousCenterOfMass, bool inUpdateMassProperties, EActivation inActivationMode) const;
 	///@}
 	///@}