Files
2025-03-23 20:45:03 +01:00

16 lines
358 B
C++

#pragma once
constexpr char WINDOW_CAPTION[] = "demo3_pixels_bouncing";
constexpr int WIDTH = 320;
constexpr int HEIGHT = 240;
constexpr int ZOOM = 3;
constexpr float GRAVITY = 0.2f;
constexpr int DOT_SIZE = 1;
constexpr int MAX_DOTS = 200000;
constexpr Uint64 TEXT_DURATION = 2000;
constexpr Uint64 DEMO_SPEED = 1000/60;
struct Color
{
int r, g, b;
};