structs.h 287 B

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