mirror of
https://github.com/Floriansylvain/SFMLplayground.git
synced 2026-08-19 11:43:24 +02:00
feat: BatchRenderer for optimized ball rendering
This commit is contained in:
+6
-6
@@ -1,13 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
namespace Constants {
|
||||
constexpr unsigned WIDTH = 1280;
|
||||
constexpr unsigned HEIGHT = 720;
|
||||
constexpr float GRAVITY = 8000.f;
|
||||
constexpr unsigned WIDTH = 1920;
|
||||
constexpr unsigned HEIGHT = 1080;
|
||||
constexpr float GRAVITY = 781.f;
|
||||
constexpr float RESTITUTION = 0.8f;
|
||||
constexpr float FRICTION = 0.9f;
|
||||
constexpr float BALL_RADIUS = 20.f;
|
||||
constexpr float IMPULSE = 2500.f;
|
||||
constexpr float IMPULSE = 2000.f;
|
||||
constexpr float REST_PIXEL_VELOCITY = 2.0f;
|
||||
constexpr unsigned BALL_QUANTITY = 100;
|
||||
constexpr float BALL_RADIUS = 15.f;
|
||||
constexpr unsigned BALL_QUANTITY = 500;
|
||||
} // namespace Constants
|
||||
|
||||
Reference in New Issue
Block a user