mirror of
				https://github.com/NoelFB/blah.git
				synced 2025-11-04 01:41:34 +08:00 
			
		
		
		
	note for non-fixed timestep
This commit is contained in:
		@ -94,6 +94,7 @@ bool App::run(const Config* c)
 | 
			
		||||
		Internal::Platform::frame();
 | 
			
		||||
 | 
			
		||||
		// update at a fixed timerate
 | 
			
		||||
		// TODO: allow a non-fixed step update?
 | 
			
		||||
		{
 | 
			
		||||
			uint64_t time_target = (uint64_t)((1.0f / app_config.target_framerate) * 1000);
 | 
			
		||||
			uint64_t time_curr = Internal::Platform::time();
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user