feat: implement multithreading for collision resolution and ball updates

This commit is contained in:
Florian Sylvain
2025-05-11 06:35:47 +02:00
parent d1c4f36963
commit c58a2cead2
8 changed files with 182 additions and 29 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ class DebugOverlay {
public:
DebugOverlay(const std::string& fontPath);
void update(int drawCalls, float timescale, const sf::RenderWindow& window);
void update(int drawCalls, float timeScale, sf::RenderWindow& window,
size_t threadCount, size_t ballsPerThread);
void draw(sf::RenderWindow& window);
private: