modules/gdextensions/visual/heatmap.cpp
void Heatmap::thread_done(Vector2 t_cell_position) {
	m_updating = false;

	m_max_heat = m_max_heat_cache;
	for (size_t i = 0; i < m_cells_heat.size(); ++i) {
		m_cells_heat[i] = m_cells_heat_cache[i];
	}
	m_last_player_cell_position = t_cell_position;

	update();
}
//Copies the cached, thread specific versions that were used into those used by the main thread.
Copies the cached, thread specific versions that were used into those used by the main thread.
Copies the cached thread specific versions that were used into those used by the main thread .
void Heatmap::thread_done(Vector2 t_cell_position) {
	m_updating = false;
	m_max_heat = m_max_heat_cache;
	for (size_t i = 0; i < m_cells_heat.size(); ++i) {
		m_cells_heat[i] = m_cells_heat_cache[i];
	}
	m_last_player_cell_position = t_cell_position;
	update();
}
void Heatmap :: thread_done ( Vector2 t_cell_position ) { m_updating = false ; m_max_heat = m_max_heat_cache ; for ( size_t i = 0 ; i < m_cells_heat . size ( ) ; ++ i ) { m_cells_heat [ i ] = m_cells_heat_cache [ i ] ; } m_last_player_cell_position = t_cell_position ; update ( ) ; }
Copies the cached, thread specific versions that were used into those used by the main thread.
Copies the cached thread specific versions that were used into those used by the main thread .