converted to Jolt physics

This commit is contained in:
2025-11-23 02:00:31 +03:00
parent 3f0484e87c
commit cd82fb0eed
52 changed files with 4302 additions and 1458 deletions

View File

@@ -0,0 +1,25 @@
#ifndef _SLOTS_MODULE_H_
#define _SLOTS_MODULE_H_
#include <flecs.h>
#include <Ogre.h>
namespace ECS
{
struct ParentSlot {
flecs::entity parent_e;
Ogre::String slot_name;
};
struct ParentSlotData {
Ogre::String slot_name;
flecs::entity parent_e;
Ogre::SceneNode *parentNode;
};
struct ObjectSlots {
std::unordered_map<Ogre::String,
std::pair<Ogre::String, Ogre::SceneNode *> >
slots;
};
struct SlotsModule {
SlotsModule(flecs::world &ecs);
};
}
#endif