define WIDTH 1024 //屏幕宽#define HEIGHT 576 //屏幕高#define NUM_MOVERS 600 //小球数量#define FRICTION 0.96f //摩擦力//定义小球结构struct Mover { COLORREF color; //颜色float x, y; //坐标float vX, vY; //速度}; //定义全局变量Mover movers[NUM_MOVERS]; //小球数组int mouseX, mouseY; //当前鼠标坐标int mouseVX, mouseVY; //鼠标速度int prevMouseX, prevMouseY; //上次鼠标坐标bool isMouseDown; //鼠标左键是否按下