feat: ball spawn mechanics w/ mouse input & refac

This commit is contained in:
Florian Sylvain
2025-05-12 12:22:00 +02:00
parent 77b7631f63
commit 7f0a191855
3 changed files with 21 additions and 11 deletions
+3 -3
View File
@@ -6,8 +6,8 @@ constexpr unsigned HEIGHT = 1080;
constexpr float GRAVITY = 781.f;
constexpr float RESTITUTION = 0.8f;
constexpr float FRICTION = 0.9f;
constexpr float IMPULSE = 2000.f;
constexpr float IMPULSE = 1000.f;
constexpr float REST_PIXEL_VELOCITY = 2.0f;
constexpr float BALL_RADIUS = 6.f;
constexpr unsigned BALL_QUANTITY = 1000;
constexpr float BALL_RADIUS = 50.f;
constexpr unsigned BALL_QUANTITY = 10;
} // namespace Constants