mirror of
https://github.com/Floriansylvain/SFMLplayground.git
synced 2026-08-19 19:53:25 +02:00
feat: implement multithreading for collision resolution and ball updates
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user