| 123456789101112131415161718192021222324 |
- #ifndef PARTICLE_DEFINITIONS
- #define PARTICLE_DEFINITIONS
- #include <cstdint>
- #include <cstddef>
- #include <cmath>
- using numeric_t = double;
- using icoord_t = size_t;
- using fcoord_t = double;
- typedef struct
- {
- icoord_t x;
- icoord_t y;
- } ipoint_t;
- typedef struct
- {
- fcoord_t x;
- fcoord_t y;
- } fpoint_t;
- #endif // PARTICLE_DEFINITIONS
|