mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
refactor: minor cleanup
This commit is contained in:
parent
623b6ad8be
commit
9efb327270
3 changed files with 6 additions and 8 deletions
|
|
@ -21,7 +21,7 @@ struct EntityDef {
|
|||
glm::vec3 hitbox {0.5f};
|
||||
std::vector<std::pair<size_t, AABB>> boxTriggers {};
|
||||
std::vector<std::pair<size_t, float>> radialTriggers {};
|
||||
std::string rigName = name.substr(name.find(":")+1);
|
||||
std::string rigName = name.substr(name.find(":") + 1);
|
||||
|
||||
struct {
|
||||
bool enabled = true;
|
||||
|
|
@ -35,7 +35,7 @@ struct EntityDef {
|
|||
entityid_t id;
|
||||
rigging::RigConfig* rig;
|
||||
} rt {};
|
||||
|
||||
|
||||
EntityDef(const std::string& name) : name(name) {}
|
||||
EntityDef(const EntityDef&) = delete;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue