structs.h 245 B

12345678910111213141516171819202122232425
  1. /*
  2. * structs.h
  3. *
  4. * Created on: 03.12.2020
  5. * Author: willy
  6. */
  7. #ifndef STRUCTS_H_
  8. #define STRUCTS_H_
  9. struct Ball{
  10. float x;
  11. float y;
  12. float vel_x;
  13. float vel_y;
  14. };
  15. struct Paddle{
  16. float y;
  17. int length;
  18. };
  19. #endif /* STRUCTS_H_ */