Ça s'ra pas long.
This commit is contained in:
		@@ -99,7 +99,8 @@ void Connection::Run(World* world) {
 | 
			
		||||
		in = m_input_vector.at(m_last_in + 1);
 | 
			
		||||
		last = m_input_vector.at(m_last_in);
 | 
			
		||||
 | 
			
		||||
		el = (float)(in.timestamp - last.timestamp) / 1000.;
 | 
			
		||||
		el = (double)(in.timestamp - last.timestamp) / 1000.;
 | 
			
		||||
		std::cout << 1. / el << std::endl;
 | 
			
		||||
		player.get()->SetDirection(in.direction);
 | 
			
		||||
		player.get()->ApplyPhysics(player.get()->GetInput(in.keys.forward, 
 | 
			
		||||
														  in.keys.backward, 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user