Browse Source

State units and improve comment (#866)

ccn 1 year ago
parent
commit
b0e04e709e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Samples/SamplesApp.h

+ 1 - 1
Samples/SamplesApp.h

@@ -87,7 +87,7 @@ private:
 
 
 	// Global settings
 	// Global settings
 	int						mMaxConcurrentJobs = thread::hardware_concurrency();		// How many jobs to run in parallel
 	int						mMaxConcurrentJobs = thread::hardware_concurrency();		// How many jobs to run in parallel
-	float					mUpdateFrequency = 60.0f;									// Physics update frequency
+	float					mUpdateFrequency = 60.0f;									// Physics update frequency, measured in Hz (cycles per second)
 	int						mCollisionSteps = 1;										// How many collision detection steps per physics update
 	int						mCollisionSteps = 1;										// How many collision detection steps per physics update
 	TempAllocator *			mTempAllocator = nullptr;									// Allocator for temporary allocations
 	TempAllocator *			mTempAllocator = nullptr;									// Allocator for temporary allocations
 	JobSystem *				mJobSystem = nullptr;										// The job system that runs physics jobs
 	JobSystem *				mJobSystem = nullptr;										// The job system that runs physics jobs