clang-format on /apps/demos/bunnymark files

This commit is contained in:
2024-10-08 01:20:42 +03:00
parent 78034b69f5
commit 5c91423fbb
7 changed files with 70 additions and 71 deletions

View File

@@ -3,23 +3,23 @@
#include "twn_game_api.h"
#define MAX_BUNNIES 50000 // 50K bunnies limit
#define MAX_BUNNIES 100000 // 100K bunnies limit
#define BUNNY_W 26
#define BUNNY_H 37
#define SPRITE_SCALE 1
typedef struct Bunny {
typedef struct Bunny
{
Vec2 position;
Vec2 speed;
Color color;
} Bunny;
typedef struct State {
typedef struct State
{
Bunny bunnies[MAX_BUNNIES];
int bunniesCount;
InputState mouse_state;
} State;
#endif