123456789101112131415161718 |
- #ifndef _BULLET_H
- #define _BULLET_H
- #include <stdbool.h>
- #include "raymath.h"
- typedef struct bullet_t {
- Vector2 position;
- Vector2 velocity;
- Vector2 accel;
- Vector2 direction;
- float radius;
- bool active;
- } bullet;
- #endif // _BULLET_H
|