rename rig to skeleton

This commit is contained in:
MihailRis
2024-07-10 04:28:12 +03:00
parent 91230ecbeb
commit 60f4f33180
24 changed files with 187 additions and 187 deletions
+4 -4
View File
@@ -10,7 +10,7 @@
#include "../physics/Hitbox.hpp"
namespace rigging {
class RigConfig;
class SkeletonConfig;
}
struct EntityDef {
@@ -23,14 +23,14 @@ struct EntityDef {
glm::vec3 hitbox {0.25f};
std::vector<std::pair<size_t, AABB>> boxSensors {};
std::vector<std::pair<size_t, float>> radialSensors {};
std::string rigName = name;
std::string skeletonName = name;
struct {
bool enabled = true;
struct {
bool textures = false;
bool pose = false;
} rig;
} skeleton;
struct {
bool velocity = true;
bool settings = false;
@@ -39,7 +39,7 @@ struct EntityDef {
struct {
entityid_t id;
rigging::RigConfig* rig;
rigging::SkeletonConfig* skeleton;
} rt {};
EntityDef(const std::string& name) : name(name) {}