types.h 249 B

12345678910111213141516
  1. #ifndef ENTT_LIB_META_TYPES_H
  2. #define ENTT_LIB_META_TYPES_H
  3. #include <entt/core/attribute.h>
  4. struct ENTT_API position {
  5. int x{};
  6. int y{};
  7. };
  8. struct ENTT_API velocity {
  9. double dx{};
  10. double dy{};
  11. };
  12. #endif // ENTT_LIB_META_TYPES_H