<commit_before>#ifndef PONG_DEFS_HPP
#define PONG_DEFS_HPP

namespace pong {

constexpr const wchar_t* WINDOW_TITLE = L"Pong";
constexpr const int WINDOW_WIDTH = 640;
constexpr const int WINDOW_HEIGHT = 480;
constexpr const float WINDOW_HALF_WIDHT = WINDOW_WIDTH / 2.0f;
constexpr const float WINDOW_HALF_HEIGHT = WINDOW_HEIGHT / 2.0f;

constexpr const int PIXELS_PER_METER = 64;

constexpr const int GAME_FRAMES_PER_SECOND = 60;
constexpr const float GAME_TIME_STEP = 1.0f / GAME_FRAMES_PER_SECOND;
constexpr const int GAME_VELOCITY_ITERATIONS = 8;
constexpr const int GAME_POSITION_ITERATIONS = 3;

constexpr const float WALL_HALF_WIDTH = WINDOW_HALF_WIDHT;
constexpr const float WALL_HALF_HEIGHT = 5.0f;

constexpr const float BALL_HALF_WIDTH = 5.0f;
constexpr const float BALL_HALF_HEIGHT = 5.0f;
constexpr const float BALL_MIN_SPEED = 2.0f;
constexpr const float BALL_MAX_SPEED = 15.0f;
constexpr const float BALL_VELOCITY_STEP = 0.001;
constexpr const float BALL_MIN_ROTATION_SPEED = 0.1f;
constexpr const float BALL_MAX_ROTATION_SPEED = 15.0f;

constexpr const float RAQUET_HALF_WIDTH = 10.0f;
constexpr const float RAQUET_HALF_HEIGHT = 40.0f;
constexpr const float RAQUET_BASE_SPEED = 5.0f;

} /* namespace pong */
#endif /* PONG_DEFS_HPP */<commit_msg>Add size contants for game objects<commit_after>#ifndef PONG_DEFS_HPP
#define PONG_DEFS_HPP

namespace pong {

constexpr const wchar_t* WINDOW_TITLE = L"Pong";
constexpr const int WINDOW_WIDTH = 640;
constexpr const int WINDOW_HEIGHT = 480;
constexpr const float WINDOW_HALF_WIDHT = WINDOW_WIDTH / 2.0f;
constexpr const float WINDOW_HALF_HEIGHT = WINDOW_HEIGHT / 2.0f;

constexpr const int PIXELS_PER_METER = 64;

constexpr const int GAME_FRAMES_PER_SECOND = 60;
constexpr const float GAME_TIME_STEP = 1.0f / GAME_FRAMES_PER_SECOND;
constexpr const int GAME_VELOCITY_ITERATIONS = 8;
constexpr const int GAME_POSITION_ITERATIONS = 3;

constexpr const float WALL_WIDTH = WINDOW_WIDTH;
constexpr const float WALL_HALF_WIDTH = WALL_WIDTH / 2.0f;
constexpr const float WALL_HEIGHT = 10.0f;
constexpr const float WALL_HALF_HEIGHT = WALL_HEIGHT / 2.0f;

constexpr const float BALL_WIDTH = 10.0f;
constexpr const float BALL_HALF_WIDTH = BALL_WIDTH / 2.0f;
constexpr const float BALL_HEIGHT = 10.0f;
constexpr const float BALL_HALF_HEIGHT = BALL_HEIGHT / 2.0f;
constexpr const float BALL_MIN_SPEED = 2.0f;
constexpr const float BALL_MAX_SPEED = 15.0f;
constexpr const float BALL_VELOCITY_STEP = 0.001;
constexpr const float BALL_MIN_ROTATION_SPEED = 0.1f;
constexpr const float BALL_MAX_ROTATION_SPEED = 15.0f;

constexpr const float RAQUET_WIDTH = 20.0f;
constexpr const float RAQUET_HALF_WIDTH = RAQUET_WIDTH / 2.0f;
constexpr const float RAQUET_HEIGHT = 80.0f;
constexpr const float RAQUET_HALF_HEIGHT = RAQUET_HEIGHT / 2.0f;
constexpr const float RAQUET_BASE_SPEED = 5.0f;

} /* namespace pong */
#endif /* PONG_DEFS_HPP */
{'fraction_non_alphanumeric': 0.06391108023619312, 'fraction_numerical': 0.037165682528655784, 'mean_word_length': 5.6976744186046515, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '292545', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1129, 'n_words': 287}