Browse Source

CharacterID: Fixed copy paste error in comment

Jorrit Rouwe 6 months ago
parent
commit
0609b5573f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Jolt/Physics/Character/CharacterID.h

+ 2 - 1
Jolt/Physics/Character/CharacterID.h

@@ -22,12 +22,13 @@ public:
 	{
 	{
 	}
 	}
 
 
-	/// Construct from index and sequence number combined in a single uint32 (use with care!)
+	/// Construct with specific value, make sure you don't use the same value twice!
 	explicit				CharacterID(uint32 inID) :
 	explicit				CharacterID(uint32 inID) :
 		mID(inID)
 		mID(inID)
 	{
 	{
 	}
 	}
 
 
+	/// Get the numeric value of the ID
 	inline uint32			GetValue() const
 	inline uint32			GetValue() const
 	{
 	{
 		return mID;
 		return mID;