ship.h 215 B

123456789101112131415
  1. #ifndef _SHIP_H
  2. #define _SHIP_H
  3. #include <raymath.h>
  4. typedef struct ship_t {
  5. Vector2 position;
  6. Vector2 velocity;
  7. Vector2 accel;
  8. Vector2 size;
  9. Vector2 direction;
  10. float angle;
  11. } ship;
  12. #endif //_SHIP_H