Files
SFMLplayground/src/Constants.hpp
T

14 lines
384 B
C++

#pragma once
namespace Constants {
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 IMPULSE = 1000.f;
constexpr float REST_PIXEL_VELOCITY = 2.0f;
constexpr float BALL_RADIUS = 50.f;
constexpr unsigned BALL_QUANTITY = 10;
} // namespace Constants