workaround for msvc that seems not to appreciate much macros
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
#include <entt/core/type_traits.hpp>
|
||||
|
||||
ENTT_SHARED_STRUCT(position, {
|
||||
struct position {
|
||||
int x;
|
||||
int y;
|
||||
})
|
||||
};
|
||||
|
||||
ENTT_SHARED_STRUCT(velocity, {
|
||||
struct velocity {
|
||||
int dx;
|
||||
int dy;
|
||||
})
|
||||
};
|
||||
|
||||
ENTT_SHARED_TYPE(position)
|
||||
ENTT_SHARED_TYPE(velocity)
|
||||
|
||||
Reference in New Issue
Block a user