Config.hpp 350 B

123456789101112131415161718192021222324
  1. #ifndef PARTICLE_CONFIG
  2. #define PARTICLE_CONFIG
  3. #include <stddef.h>
  4. struct Config
  5. {
  6. int map_width{};
  7. int map_height{};
  8. size_t population{};
  9. float increase{};
  10. float decay{};
  11. float diffusion{};
  12. float speed{};
  13. float steering{};
  14. float sensing_distance{};
  15. float sensing_angle{};
  16. };
  17. #endif // PARTICLE_CONFIG