#ifndef HYDRAECSPHYSICSCOMPONENT #define HYDRAECSPHYSICSCOMPONENT #include "../../engine/HydraEngine.h" //#include "../physics/HydraPhysicsDefinition.h" #include struct HydraPhysicsComponent { HYDRA_PHYSICS_TYPE phyics_type = HYDRA_PHYSICS_TYPE::HYDRA_INVALID_PHYSICS_TYPE; HYDRA_PHYSICS_SHAPE physics_shape = HYDRA_PHYSICS_SHAPE::HYDRA_INVALID_PHYSICS_TYPE; float mass = 0; float height = 0; float width = 0; float depth = 0; b3BodyId body_id = {}; bool initialised = false; bool needs_update = false; }; #endif /* HYDRAECSPHYSICSCOMPONENT */