feat: update Ball and PhysicalObject classes to include window size/resize

This commit is contained in:
Florian Sylvain
2025-05-11 03:29:09 +02:00
parent 8e91d54de7
commit 509c6ceeca
6 changed files with 35 additions and 12 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ constexpr float FRICTION = 0.9f;
constexpr float BALL_RADIUS = 20.f;
constexpr float IMPULSE = 2500.f;
constexpr float REST_PIXEL_VELOCITY = 2.0f;
constexpr unsigned BALL_QUANTITY = 10;
constexpr unsigned BALL_QUANTITY = 500;
} // namespace Constants