mirror of
https://github.com/Floriansylvain/SFMLplayground.git
synced 2026-08-19 11:43:24 +02:00
feat: dynamic color update to Ball based on velocity
This commit is contained in:
+1
-1
@@ -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 = 500;
|
||||
constexpr unsigned BALL_QUANTITY = 100;
|
||||
} // namespace Constants
|
||||
|
||||
Reference in New Issue
Block a user